save ai nginx conf
This commit is contained in:
parent
04ac96aacd
commit
5c89fa59f3
20
conf/nginx.ai.conf
Normal file
20
conf/nginx.ai.conf
Normal file
|
@ -0,0 +1,20 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name ai1.lichess.org;
|
||||
|
||||
access_log /home/log/nginx/ai1.lichess.access.log;
|
||||
error_log /home/log/nginx/ai1.lichess.error.log;
|
||||
|
||||
allow 37.59.32.99; # lichess balrog server
|
||||
allow 91.121.106.120; # lichess hollie server
|
||||
deny all;
|
||||
|
||||
location / {
|
||||
proxy_read_timeout 600s;
|
||||
proxy_set_header Host $http_host;
|
||||
#proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://127.0.0.1:9072/;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue