add reminder for proxy remote_addr

This commit is contained in:
Jean-Christian Denis 2024-12-05 16:25:33 +01:00
parent 07b2bc0192
commit 6249cbba14
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -8,6 +8,10 @@ index index.php index.html;
root /var/www/dotclear/app;
client_max_body_size 32m;
# Fix remote_addr, uncomment these lines and set proxy IP or subnet
#real_ip_header X-Forwarded-For;
#set_real_ip_from x.x.x.x/x;
# Blogs public paths
location ~ /public {
root /var/www/dotclear/blogs;