Switch xray server from unix socket to TCP socket
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ server {
|
||||
keepalive_timeout 5m;
|
||||
|
||||
location /trapdoor {
|
||||
proxy_pass http://unix:/dev/shm/xray.socket;
|
||||
proxy_pass http://xray-server:8080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
Reference in New Issue
Block a user