diff --git a/nextcloud/nginx.conf b/nextcloud/nginx.conf index cd4ddec..ad6b270 100644 --- a/nextcloud/nginx.conf +++ b/nextcloud/nginx.conf @@ -12,6 +12,7 @@ http { error_log /var/log/nginx/error.log warn; set_real_ip_from 127.0.0.1; set_real_ip_from ::1; + set_real_ip_from 192.168.0.0/16; real_ip_header X-Forwarded-For; real_ip_recursive on; include /etc/nginx/mime.types;