proxy/ssl produces an invalid nginx config
See original GitHub issuemodule.exports = { servers: { one: { host: ‘XXXXXXXXX’, username: ‘root’, password: ‘8001CONCHItta’, // pem: ‘./path/to/pem’ // or neither for authenticate from ssh-agent }, },
proxy: { domains: ‘XXXXXXXXXXX’, ssl: { // Enable let’s encrypt to create free certificates letsEncryptEmail: ‘XXXXX@XXXXX.com’, }, },
app: { name: ‘pharma’, path: ‘…/’,
servers: {
one: {},
},
buildOptions: {
serverOnly: true,
},
env: {
ROOT_URL: 'XXXXXXXXXXX',
},
docker: {
image: 'abernix/meteord:node-8.4.0-base',
networks: [
'pharma',
],
},
// Show progress bar while uploading bundle to server
// You might need to disable it on CI servers
enableUploadProgressBar: true,
deployCheckWaitTime: 60, // default is 60 (optional)
}, };
Hey I have meteor 1.6 project that used to work before update, mup 1.4.4, the node version on my client is v8.11.1.
I’ve ofc replaced some sensitive data by XXXXXX.
When I don’t have proxy server works. When I do have the mup-nginx-proxy keeps restarting if I docker logs it it logs 2018/04/30 01:45:45 [emerg] 25#25: unexpected end of file, expecting ";" or "}" in /etc/nginx/conf.d/my_proxy.conf:2 nginx.1 | nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/conf.d/my_proxy.conf:2
I don’t know how to log the conf file as I cannot docker exec on a restarting container nor on a stopped one.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (3 by maintainers)
Top GitHub Comments
I have had this same issue yesterday. I am using the latest MUP and I will described what I did to make the problem occur and steps taken to solve it.
Hope this helps somebody.
Oh yeah and thank you @stefanve. Your solution was helpful.