forked from ppfun/pixelplanet
update nginx config
This commit is contained in:
parent
3ab076c917
commit
4406829c0a
|
@ -29,6 +29,8 @@ location = / {
|
|||
if ( $query_string ) { return 403; }
|
||||
limit_req zone=captcha burst=5;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_pass http://$ppfun$request_uri;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user