File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,23 @@ Or set the following label if using `swag-auto-proxy`:
4848 container_name: somecontainer
4949 ...
5050 labels:
51- - swag_server_custom_directive=include /config/nginx/ondemand.conf;
51+ - 'swag_server_custom_directive=include /config/nginx/ondemand.conf;'
52+ ` ` `
53+ # ### Authelia
54+ Add the following line to each proxy-conf where you wish to show the loading page inside the `location` section :
55+ ` ` ` nginx
56+ location / {
57+ ...
58+ error_page 502 = @waking_up;
59+ ...
60+ ` ` `
61+ Or set the following label if using `swag-auto-proxy` :
62+ ` ` ` yaml
63+ somecontainer:
64+ container_name: somecontainer
65+ ...
66+ labels:
67+ - 'swag_location_custom_directive=error_page 502 = @waking_up;'
5268` ` `
5369# ## Labels:
5470- ` swag_ondemand=enable` - required for on-demand.
You can’t perform that action at this time.
0 commit comments