Skip to content

Latest commit

 

History

History
18 lines (18 loc) · 617 Bytes

README.md

File metadata and controls

18 lines (18 loc) · 617 Bytes

location ^~ /main { proxy_pass http://127.0.0.1:9100; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location ^~ /data { proxy_redirect off; proxy_pass http://127.0.0.1:22662; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; proxy_read_timeout 300s; # Show realip in v2ray access.log proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }