Commit 753ec7c2 authored by nanahira's avatar nanahira

real ip

parent c24d3b7a
......@@ -4,6 +4,10 @@ gzip_disable msie6;
gzip_proxied any;
gzip_types text/plain text/css text/javascript application/javascript application/json application/x-javascript text/xml application/xml application/xml+rss;
set_real_ip_from 172.16.0.0/12; # docker
real_ip_header X-Forwarded-For;
real_ip_recursive on;
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment