Files
NetAlertX/install/production-filesystem/services/config/nginx
jokob-sk 6a20128960
Some checks failed
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
BE: install refactor work
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-10-22 07:48:50 +11:00
..
2025-10-22 07:48:50 +11:00
2025-10-22 07:48:50 +11:00
2025-10-22 07:48:50 +11:00
2025-10-22 07:48:50 +11:00

Nginx's conf is in /services/config/nginx/conf.active. This is the default configuration when run as a read-only container without a mount.

With a tmpfs mount on /services/config/nginx/conf.active, the nginx template will be rewritten to allow ENV customization of listen address and port.

The act of running /services/start-nginx.sh writes a new nginx.conf file, using envsubst, then starts nginx based on the parameters in that file.

Defaults: LISTEN_ADDR=0.0.0.0 PORT=20211