arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 395 forks source link

deploying multiple apps using ssl on a single server #494

Open appjitsu opened 9 years ago

appjitsu commented 9 years ago

How do you do it?

I can deploy two apps on the same server without ssl just fine, but trying to use ssl and doing mup setup overwrites the ssl config.

I have two apps deployed on the same server:

admin app mup.json: { "servers": [ { "host": "****", "username": "****", "pem": "~/.ssh/staging" } ],

"ssl": { "pem": "./admin_staging_mydomain_com.pem" },

"appName": "***", "app": "./", "env": { "ROOT_URL": "https://admin.staging.myapp.com" }, }

public app mup.json: { "servers": [ { "host": "****", "username": "****", "pem": "~/.ssh/staging" } ],

"ssl": { "pem": "./staging_mydomain_com.pem" },

"appName": "***", "app": "./", "env": { "ROOT_URL": "https://staging.myapp.com" }, }

When I run mup setup for the first one, it works fine. Then when I run mup setup for the second one, the ssl is being overwritten. I'm sure it's just a misunderstanding of how it works and a wrong config setup.

btbjosh commented 8 years ago

I also would love to know this...

sungwoncho commented 8 years ago

The README says it is impossible, but yeah I'd also like to know how.

nilsi commented 8 years ago

Yeah, this would be a great feature