mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Add note about other containers
This commit is contained in:
parent
01f83ec708
commit
517ec0bcc5
@ -20,6 +20,8 @@ real_ip_recursive on;
|
||||
include /config/nginx/cf_real-ip.conf;
|
||||
```
|
||||
|
||||
You may also need to add this mod (and the above config changes) to every nginx based container being proxied by SWAG.
|
||||
|
||||
~~I also recommend including your docker-network as a valid ip `set_real_ip_from 172.17.0.0/16;` in the snippet above.~~
|
||||
|
||||
This mod now adds `127.0.0.1` and *tries* to add the real ip from the interfaces in the container.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user