You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This mod gives SWAG the ability to start containers on-demand when accessed thro
34
34

35
35
36
36
Instead of showing a 502 error page, it can display a loading page and auto-refresh once the container is up.
37
-
37
+
38
38
Add the following `include` to each proxy-conf where you wish to show the loading page inside the `server` section:
39
39
```nginx
40
40
server {
@@ -68,7 +68,7 @@ Or set the following label if using `swag-auto-proxy`:
68
68
```
69
69
### Labels:
70
70
- `swag_ondemand=enable`- required for on-demand.
71
-
- `swag_ondemand_urls=https://wake.domain.com,https://app.domain.com/up`- *optional* - overrides the monitored URLs for starting the container on-demand. Defaults to `https://somecontainer.,http://somecontainer.`.
71
+
- `swag_ondemand_urls=https://wake.domain.com,https://app.domain.com/up`- *optional* - overrides the monitored URLs for starting the container on-demand. Defaults to using the value of the `swag_url` label, if you've already set it for `swag-auto-proxy`, or `https://somecontainer.,http://somecontainer.` otherwise.
72
72
73
73
### URLs:
74
74
- Accessed URLs need to start with one of `swag_ondemand_urls` to be matched, for example, setting `swag_ondemand_urls=https://plex.` will apply to `https://plex.domain.com` and `https://plex.domain.com/something`.
0 commit comments