]> Nutra Git (v1) - nutratech/vps-root.git/commitdiff
tidy nginx minio
authornutra-bot <nutradigest@gmail.com>
Sun, 14 May 2023 19:54:03 +0000 (19:54 +0000)
committernutra-bot <nutradigest@gmail.com>
Sun, 14 May 2023 19:54:03 +0000 (19:54 +0000)
etc/nginx/conf.d/default.conf

index ddde54a9564e8a4403a49b9e48049c8fffbebefc..d387c88f8b8f768daf88d7e590a51a4131bf29e1 100644 (file)
@@ -60,10 +60,7 @@ server {
   #listen 80;
   listen 443 ssl http2;
   location / {
-    # To support websocket
-    proxy_http_version 1.1;
-    proxy_set_header Upgrade $http_upgrade;
-    proxy_set_header Connection "upgrade";
+    # TODO: resolve weird host:port redirect issue?
     proxy_set_header Host            $host;
     proxy_set_header X-Forwarded-For $remote_addr;
     proxy_pass http://localhost:9001;
@@ -77,6 +74,7 @@ server {
   #listen 80;
   listen 443 ssl http2;
   location / {
+    # TODO: resolve websocket error on deployed domain
     # To support websocket
     proxy_http_version 1.1;
     proxy_set_header Upgrade $http_upgrade;