2021-03-09 23:54:27 -05:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2021-03-09 11:00:26 -05:00
2019-05-30 20:35:20 +01:00
2021-03-09 11:00:26 -05:00

Auto-reload - Docker mod for Nginx based images

This mod allows Nginx to be reloaded automatically whenever there are valid changes to the following files and folders:

  • /config/nginx/authelia-location.conf
  • /config/nginx/authelia-server.conf
  • /config/nginx/geoip2.conf
  • /config/nginx/ldap.conf
  • /config/nginx/nginx.conf
  • /config/nginx/proxy-confs
  • /config/nginx/proxy.conf
  • /config/nginx/site-confs
  • /config/nginx/ssl.conf

In the container's docker arguments, set an environment variable DOCKER_MODS=linuxserver/mods:swag-auto-reload

If adding multiple mods, enter them in an array separated by |, such as DOCKER_MODS=linuxserver/mods:swag-auto-reload|linuxserver/mods:swag-mod2

If you'd like for Nginx to be reloaded when other files or folders are modified (not included in our default list above), set a new environment variable, WATCHLIST, and set it to a list of container relative paths separated by | like the below example:

WATCHLIST="/config/nginx/custom.conf|/config/nginx/customfolder"

Description
No description provided
Readme GPL-3.0 6.5 MiB
Languages
Text 100%