Use proper local CIDR with real IP setting

This commit is contained in:
Eric Nemchik
2023-06-21 08:39:02 -05:00
committed by GitHub
parent d596203d7e
commit e970b42dc3
@@ -20,7 +20,7 @@ server {
root /config/www/nextcloud/;
# display real ip in nginx logs when connected through reverse proxy via docker network
set_real_ip_from 172.0.0.0/8;
set_real_ip_from 172.16.0.0/12;
real_ip_header X-Forwarded-For;
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html#nextcloud-in-the-webroot-of-nginx