mirror of
https://github.com/linuxserver/cstate.git
synced 2026-02-20 07:55:25 +08:00
Merge pull request #253 from linuxserver/swag-auto-reload
Swag auto reload changes
This commit is contained in:
commit
25cbfa2d2d
17
content/issues/2025-01-19-swag-auto-reload.md
Normal file
17
content/issues/2025-01-19-swag-auto-reload.md
Normal 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.
|
||||
Loading…
x
Reference in New Issue
Block a user