Comments (5)
Would love to have this as well infront of the meteor app
from meteor-up-legacy.
There's so many different ways apps work, so how would you have nginx being set up?
I just made a few configs for some of my own projects, where some include SSL, some doesn't. Some needs redirects from other domains, and so on.
If you have a good way to solve it, I wouldn't mind integrating it.
from meteor-up-legacy.
I think that's not a job of mup. Mup will get too complicated if so.
from meteor-up-legacy.
@arunoda I agree. Yet, wouldn't it be smart to be able to store an nginx.conf (or any other type of file, for that matter) file in your own project, and have a way to do symlinks, and restarts of any given service?
For example you have a folder with files, to use for deployment, in which I would (for nginx) store a "nginx.conf" file, a "ssl.crt" and a "ssl.key" file. Then in the mup.json
file, add variables like
{
"appName": "com.domain",
"symlink": {
"nginx.conf": "/etc/nginx/sites-available/com.domain.conf"
},
"service": {
"nginx": "reload"
}
}
And refer to the two SSL-files directly from the nginx.conf and to the SSL-files like so:
server {
# ...
ssl_certificate /opt/com.domain/deployment_files/ssl.crt;
ssl_certificate_key /opt/com.domain/deployment_files/ssl.key;
# ...
}
What should happen, is:
- Includes the "deployment_files" folder (call it something better suited, maybe?), when publishing it to the server
- Make symlinks from target to point, as per the
symlink
object - Send commands to services, as per the
service
object
Let me know what you think. ;)
Edit:
If you want to deploy to multiple servers, you most likely don't want a service like nginx running on more than 1 server, so I guess my above code, should be defined in the server section, if it should be implemented. Again... This quickly gets out of the scope for mup as I see it.
from meteor-up-legacy.
Now we've the SSL support. Check docs: https://github.com/arunoda/meteor-up#ssl-support
from meteor-up-legacy.
Related Issues (20)
- Verifying deployment: FAILED; curl: (56) Recv failure: Connection reset by peer HOT 2
- unable to deploy with meteor 1.4.2 HOT 5
- docker not restarting on meteor app crash
- Deploy is successful but app not working on server
- publishing more ports?
- How to Revert Mup version
- Verifying deployment: FAILED, assert.js:93 throw new assert.AssertionError HOT 2
- Invoking deployment process: FAILED when mupx deploy HOT 1
- cd /
- Add settings to install MongoDB on a separate target
- mup deploy failing
- Deployment failure Mupx meteor 1.4.2.3 HOT 2
- command not found
- setup failed HOT 1
- when trying to setup
- is this repo still under support ? HOT 1
- deployment failure with bcrypt! HOT 1
- Deployment Failed | Start Meteor -failed
- mupx deploy error
- Archive repo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-up-legacy.