#How to add a custom conf file to nginx ?

1 messages · Page 1 of 1 (latest)

quartz oasis
#

I'm using NGINX Home Assistant SSL proxy and would like to add a forward to my NAS.

I've added the attached file but it doesn't seem to get loaded, I still get a 404 from nginx. Note that the access to HA is still perfectly fine.

#

Addon config :

domain: ha.duckdns.org
hsts: max-age=31536000; includeSubDomains
certfile: fullchain.pem
keyfile: privkey.pem
cloudflare: false
customize:
  active: true
  default: nginx_proxy_default*.conf
  servers: nginx_proxy*.conf
real_ip_from: []
quartz oasis
#

Logs don't say anything apart from "Generating nginx.conf drom template" and "running nginx". Looking at the template it seems that the docs are very misleading, you can't have multiple .conf with the wildcard in the config. I've specified the exact file but it's still not doing anything

#

Okay I've set it to default and remove the "server" wrap, and it got taken into account this time as I can't connect anymore lol.