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://127.0.0.1:8010; } }