mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-18 14:23:07 -04:00
Expand a bit on the way application discovery works.
This commit is contained in:
@@ -23,13 +23,16 @@ Requires an internal DNS, add a rewrite of `dashboard.domain.com` to your server
|
||||
Remove the allow/deny lines in `/config/nginx/proxy-confs/dashboard.subdomain.com`, and instead secure it some other way (like Authelia for example).
|
||||
|
||||
## Notes
|
||||
- The application discovery scans the proxy configs and looks for the following structure in accordance with the samples:
|
||||
- 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:
|
||||
```yaml
|
||||
set $upstream_app <container/address>;
|
||||
set $upstream_port <port>;
|
||||
set $upstream_proto <protocol>;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
```
|
||||
The following directories are scanned for configurations:
|
||||
- `/config/nginx`
|
||||
- `/etc/nginx/http.d`
|
||||
- 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.
|
||||
- The host's fail2ban can be supported by mounting it to swag `- /path/to/host/fail2ban.sqlite3:/dashboard/fail2ban.sqlite3:ro`
|
||||
- The host's logs can be supported by mounting it to swag `- /path/to/host/logs:/dashboard/logs:ro`
|
||||
|
||||
Reference in New Issue
Block a user