Skip to content

Commit 2c73049

Browse files
author
set
committed
Update readme
1 parent 4f6af02 commit 2c73049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This mod gives SWAG the ability to start containers on-demand when accessed thro
3434
![loading-page](.assets/loading-page.png)
3535

3636
Instead of showing a 502 error page, it can display a loading page and auto-refresh once the container is up.
37-
37+
3838
Add the following `include` to each proxy-conf where you wish to show the loading page inside the `server` section:
3939
```nginx
4040
server {
@@ -52,7 +52,7 @@ Or set the following label if using `swag-auto-proxy`:
5252
```
5353
### Labels:
5454
- `swag_ondemand=enable` - required for on-demand.
55-
- `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.`.
55+
- `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.
5656

5757
### URLs:
5858
- 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

Comments
 (0)