From 1ab20c3d4229ab1b6cb8aa9397a276ba0ed16e0d Mon Sep 17 00:00:00 2001 From: alibij <73279127+alibij@users.noreply.github.com> Date: Mon, 23 Jan 2023 15:29:09 +0330 Subject: [PATCH] Update nginx.conf fix problem in ubuntu 20 LTS to connect nginx --- VLESS-WSS-Nginx/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;