YCast/examples/nginx-ycast.conf.example
Micha LaQua 0bba96f07d
fix up nginx example
for compatibility with other vendors
2019-01-24 22:30:11 +01:00

18 lines
527 B
Text

server {
listen 80;
server_name *.vtuner.com;
access_log /var/log/nginx/ycast_access.log;
error_log /var/log/nginx/ycast_error.log;
location / {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:8010;
}
}