Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swag auto reload changes #253

Merged
merged 2 commits into from
Jan 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions content/issues/2025-01-19-swag-auto-reload.md
Original file line number Diff line number Diff line change
@@ -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