81,092
社区成员
发帖
与我相关
我的任务
分享
gzip on;
gzip_min_length 200;
gzip_buffers 8 64k;
gzip_http_version 1.0;
gzip_comp_level 5;
gzip_types text/plain text/css application/x-javascript application/javascript text/javascript application/json image/png;
gzip_proxied any;
gzip_vary off;
gzip_disable "MSIE [1-6]\.";
location / {
proxy_set_header Host $host;
set $tmpRemote $remote_addr;
if ($http_x_real_ip != ''){
set $tmpRemote $http_x_real_ip;
}
proxy_set_header X-Real-IP $tmpRemote;
proxy_set_header REMOTE-HOST $remote_addr;
set $tmpFwd $remote_addr;
if ($proxy_add_x_forwarded_for != ''){
set $tmpFwd $proxy_add_x_forwarded_for;
}
proxy_set_header X-Forwarded-For $tmpFwd;
proxy_pass http://127.0.0.1:10080/ChunAnFs/;
chunked_transfer_encoding off;
}