From 9c33f5168d7cb99dce5708425aa33a85b2b55fe5 Mon Sep 17 00:00:00 2001 From: quietsy Date: Fri, 28 Nov 2025 20:55:00 +0200 Subject: [PATCH] Update the readme with authelia --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a1b69f..69bf20d 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,23 @@ Or set the following label if using `swag-auto-proxy`: container_name: somecontainer ... labels: - - swag_server_custom_directive=include /config/nginx/ondemand.conf; + - 'swag_server_custom_directive=include /config/nginx/ondemand.conf;' +``` +#### Authelia +Add the following line to each proxy-conf where you wish to show the loading page inside the `location` section: +```nginx + location / { + ... + error_page 502 = @waking_up; + ... +``` +Or set the following label if using `swag-auto-proxy`: +```yaml + somecontainer: + container_name: somecontainer + ... + labels: + - 'swag_location_custom_directive=error_page 502 = @waking_up;' ``` ### Labels: - `swag_ondemand=enable` - required for on-demand.