add reminder for proxy remote_addr
This commit is contained in:
parent
07b2bc0192
commit
6249cbba14
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ index index.php index.html;
|
||||||
root /var/www/dotclear/app;
|
root /var/www/dotclear/app;
|
||||||
client_max_body_size 32m;
|
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
|
# Blogs public paths
|
||||||
location ~ /public {
|
location ~ /public {
|
||||||
root /var/www/dotclear/blogs;
|
root /var/www/dotclear/blogs;
|
||||||
|
|
Loading…
Reference in a new issue