]> Nutra Git (v2) - nutratech/vps-root.git/commitdiff
update matrix/nginx config? (from september)
authornutra-bot <nutradigest@gmail.com>
Sat, 13 Sep 2025 16:58:05 +0000 (16:58 +0000)
committernutra-bot <nutradigest@gmail.com>
Sat, 13 Sep 2025 16:58:05 +0000 (16:58 +0000)
etc/nginx/conf.d/default.conf

index a6ea14e8de4c403d1bc87e64f0cd9b172659a40c..2056ed1881f6b5295bf43bef8071048a3f673c58 100644 (file)
@@ -206,6 +206,7 @@ server {
 
   location / {
     proxy_pass http://127.0.0.1:8008;
+    proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
     proxy_set_header X-Forwarded-For $remote_addr;
   }
 
@@ -227,6 +228,7 @@ server {
 #  }
   location / {
     proxy_pass http://127.0.0.1:8008;
+    proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
     proxy_set_header X-Forwarded-For $remote_addr;
   }