2018-11-06 00:00:53 +00:00
|
|
|
server {
|
|
|
|
listen 80;
|
2019-01-24 21:30:11 +00:00
|
|
|
server_name *.vtuner.com;
|
2018-11-06 00:00:53 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2020-01-12 15:07:27 +00:00
|
|
|
proxy_pass http://127.0.0.1:8010;
|
2018-11-06 00:00:53 +00:00
|
|
|
}
|
|
|
|
}
|