1
0
Эх сурвалжийг харах

Update nginx.conf

fix problem in ubuntu 20 LTS to connect nginx
alibij 2 жил өмнө
parent
commit
1ab20c3d42

+ 2 - 2
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;