Add note about other containers

This commit is contained in:
Eric Nemchik
2023-01-16 10:44:40 -06:00
parent 01f83ec708
commit 517ec0bcc5
+2
View File
@@ -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.