Open appjitsu opened 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.
I also would love to know this...
The README says it is impossible, but yeah I'd also like to know how.
Yeah, this would be a great feature
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.