NGINX SSL proxy does not work after a few minutes

Hello guys,
I have a problem with the NGINX addon.

I can start it and it runs for a few minutes. Then it stops.


s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service crond: starting
s6-rc: info: service crond successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
sed: bad option in substitution expression
[08:13:58] INFO: Service nginx exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service crond: stopping
[08:13:58] INFO: Service crond exited with code 256 (by signal 15)
s6-rc: info: service crond successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service nginx successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

My config:

domain: https://xxx.duckdns.org
hsts: max-age=31536000; includeSubDomains
certfile: fullchain.pem
keyfile: privkey.pem
cloudflare: false
customize:
  active: false
  default: nginx_proxy_default*.conf
  servers: nginx_proxy/*.conf

Port 80 and 443 are open and forwarded

Any ideas?

many thanks

Not sure if you have resolved your issue, but I had the same/similar issue and it was because the privkey.pen and fullchain.pem files were missing from the /ssl folder. I ran a partial backup of just the ssl folder. I copied the 2 files to my PC (for safe keeping). Rebooted HA, the files disappeared again. I then copied the files back from my PC to the ssl folder on my HA instances and restarted NGINX and it seems to have resolved my issue,

2 Likes