Skip to content

Commit e96a14d

Browse files
committed
Expand a bit on the way application discovery works.
1 parent 6e6ddfb commit e96a14d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@ Requires an internal DNS, add a rewrite of `dashboard.domain.com` to your server
2323
Remove the allow/deny lines in `/config/nginx/proxy-confs/dashboard.subdomain.com`, and instead secure it some other way (like Authelia for example).
2424

2525
## Notes
26-
- The application discovery scans the proxy configs and looks for the following structure in accordance with the samples:
26+
- The application discovery scans all files, irrespective of extension, under the nginx config directories and looks for the following structure in accordance with the samples:
2727
```yaml
2828
set $upstream_app <container/address>;
2929
set $upstream_port <port>;
3030
set $upstream_proto <protocol>;
3131
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
3232
```
33+
The following directories are scanned for configurations:
34+
- `/config/nginx`
35+
- `/etc/nginx/http.d`
3336
- Either [Swag Maxmind mod](https://github.com/linuxserver/docker-mods/tree/swag-maxmind) or [Swag DBIP mod](https://github.com/linuxserver/docker-mods/tree/swag-dbip) are required to enable the geo location graph.
3437
- The host's fail2ban can be supported by mounting it to swag `- /path/to/host/fail2ban.sqlite3:/dashboard/fail2ban.sqlite3:ro`
3538
- The host's logs can be supported by mounting it to swag `- /path/to/host/logs:/dashboard/logs:ro`

0 commit comments

Comments
 (0)