diff --git a/VLESS-WSS-Nginx/nginx.conf b/VLESS-WSS-Nginx/nginx.conf index 8850adb..bb76235 100644 --- a/VLESS-WSS-Nginx/nginx.conf +++ b/VLESS-WSS-Nginx/nginx.conf @@ -4,7 +4,7 @@ server { index index.html; root /var/www/html; - + ssl on; ssl_certificate /path/to/example.cer; ssl_certificate_key /path/to/example.key; ssl_protocols TLSv1.2 TLSv1.3; @@ -15,7 +15,7 @@ server { if ($http_upgrade != "websocket") { return 404; } - proxy_pass http://unix:/dev/shm/Xray-VLESS-WSS-Nginx.socket; + proxy_pass http://127.0.0.1:1234; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;