initial-import: 2026-04-11 21:18:55
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# {{username}} - Web Trader
|
||||
location ~* ^{{nginx_path}}(.*)$ {
|
||||
proxy_pass http://127.0.0.1:{{web_port}}/$1$is_args$args;
|
||||
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;
|
||||
|
||||
# WebSocket支持
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
Reference in New Issue
Block a user