uic.conf
597 Bytes
server{
# only allow local
include ./local.access.conf;
listen 80;
server_name uic.yohoops.org;
access_log /Data/logs/nginx/uic_access.log fenxi;
error_log /Data/logs/nginx/uic_error.log;
location / {
limit_req zone=limit_uic_zone burst=5 nodelay;
proxy_redirect off;
proxy_pass http://uic;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Accept-Encoding "gzip";
}
}