Files
zira-etc/nginx/conf.d/storm.club3d.ro.conf
2021-05-24 22:18:33 +03:00

25 lines
646 B
Plaintext

server {
listen 192.168.1.2:80;
set_real_ip_from 127.0.0.1;
set_real_ip_from 192.168.1.2;
real_ip_header CF-Connecting-IP;
#Logging
access_log /var/log/nginx/storm.club3d.ro.access.log;
error_log /var/log/nginx/storm.club3d.ro.error.log;
server_name storm.club3d.ro;
location / {
proxy_pass http://127.0.0.1:9022;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}