Merge pull request #253 from linuxserver/swag-auto-reload

Swag auto reload changes
This commit is contained in:
Adam 2025-01-19 19:06:44 +00:00 committed by GitHub
commit 25cbfa2d2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,17 @@
---
title: 'SWAG Auto Reload Changes'
date: '2025-01-19 22:00:00Z'
informational: true
affected:
- 'mods'
- 'swag'
section: issue
---
Due to the popularity of the [SWAG Auto Reload mod](https://github.com/linuxserver/docker-mods/tree/swag-auto-reload) we have decided to integrate the functionality into the [SWAG image](https://github.com/linuxserver/docker-swag).
This allows nginx to be reloaded automatically whenever files are added to or changed within `/config/nginx` (or additional specified paths), including validation of the config to prevent outages.
From today's SWAG release you can set an environment variable of `SWAG_AUTORELOAD=true` to automatically reload your nginx config whenever a change is made to a .conf file. Please see the README for more information.
If you are using the SWAG Auto Reload mod then please consider switching to the built-in functionality as we will no longer be providing support or updates for the mod.