mosha255 commited on
Commit
b520a47
·
unverified ·
1 Parent(s): 143549e

Nginx config workaround for https

Browse files
Files changed (1) hide show
  1. nginx.conf +2 -0
nginx.conf CHANGED
@@ -31,5 +31,7 @@ server {
31
  proxy_set_header Connection "upgrade";
32
  proxy_set_header X-Forwarded-Host $http_host;
33
  proxy_set_header X-Forwarded-Proto $scheme;
 
 
34
  }
35
  }
 
31
  proxy_set_header Connection "upgrade";
32
  proxy_set_header X-Forwarded-Host $http_host;
33
  proxy_set_header X-Forwarded-Proto $scheme;
34
+
35
+ add_header Content-Security-Policy "upgrade-insecure-requests";
36
  }
37
  }