onlyrickroll commited on
Commit
2c53c32
·
verified ·
1 Parent(s): bc27d6a

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +1 -10
nginx.conf CHANGED
@@ -41,16 +41,7 @@ http {
41
  proxy_set_header X-Real-IP $remote_addr;
42
  }
43
 
44
- location / {
45
- proxy_pass http://0.0.0.0:2017; # 你的 v2rayA 地址
46
- proxy_http_version 1.1;
47
- proxy_set_header Upgrade $http_upgrade;
48
- proxy_set_header Connection "upgrade";
49
- proxy_set_header Host $host;
50
- proxy_set_header X-Real-IP $remote_addr;
51
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
52
- proxy_set_header X-Forwarded-Proto $scheme;
53
- }
54
  location /ttyd/ {
55
  proxy_pass http://127.0.0.1:7681/;
56
  proxy_http_version 1.1;
 
41
  proxy_set_header X-Real-IP $remote_addr;
42
  }
43
 
44
+
 
 
 
 
 
 
 
 
 
45
  location /ttyd/ {
46
  proxy_pass http://127.0.0.1:7681/;
47
  proxy_http_version 1.1;