Spaces:
Paused
Paused
Update nginx.conf
Browse files- nginx.conf +4 -1
nginx.conf
CHANGED
|
@@ -12,6 +12,9 @@ http {
|
|
| 12 |
fastcgi_temp_path /tmp/fastcgi_temp;
|
| 13 |
|
| 14 |
include /etc/nginx/mime.types;
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
# 定义 WebSocket 升级映射(更优雅的写法)
|
| 17 |
map $http_upgrade $connection_upgrade {
|
|
@@ -41,7 +44,7 @@ http {
|
|
| 41 |
}
|
| 42 |
|
| 43 |
location /proxy {
|
| 44 |
-
proxy_pass http://localhost:2017; # 你的 v2rayA 地址
|
| 45 |
proxy_http_version 1.1;
|
| 46 |
proxy_set_header Upgrade $http_upgrade;
|
| 47 |
proxy_set_header Connection "upgrade";
|
|
|
|
| 12 |
fastcgi_temp_path /tmp/fastcgi_temp;
|
| 13 |
|
| 14 |
include /etc/nginx/mime.types;
|
| 15 |
+
|
| 16 |
+
access_log /dev/stdout;
|
| 17 |
+
error_log /dev/stderr;
|
| 18 |
|
| 19 |
# 定义 WebSocket 升级映射(更优雅的写法)
|
| 20 |
map $http_upgrade $connection_upgrade {
|
|
|
|
| 44 |
}
|
| 45 |
|
| 46 |
location /proxy {
|
| 47 |
+
proxy_pass http://localhost:2017/; # 你的 v2rayA 地址
|
| 48 |
proxy_http_version 1.1;
|
| 49 |
proxy_set_header Upgrade $http_upgrade;
|
| 50 |
proxy_set_header Connection "upgrade";
|