Browse Source

fix: fix for Safari/iOS error NSPOSIXErrorDomain:100 (#1513)

https://forum.hestiacp.com/t/fix-for-safari-ios-error-nsposixerrordomain-100/2438

Co-authored-by: Sotiris Tsimbonis <stsimb@tesla4.local>
Sotiris Tsimbonis 5 years ago
parent
commit
4737d0d08b

+ 2 - 0
install/deb/templates/web/nginx/caching.stpl

@@ -48,5 +48,7 @@ server {
     location ~ /\.hg/   {return 404;}
     location ~ /\.bzr/  {return 404;}
 
+    proxy_hide_header Upgrade;
+
     include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;
 }

+ 2 - 0
install/deb/templates/web/nginx/default.stpl

@@ -39,6 +39,8 @@ server {
     location ~ /\.hg/   {return 404;}
     location ~ /\.bzr/  {return 404;}
 
+    proxy_hide_header Upgrade;
+
     include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;
 }
 

+ 2 - 0
install/deb/templates/web/nginx/hosting.stpl

@@ -41,6 +41,8 @@ server {
 
     disable_symlinks if_not_owner from=%docroot%;
 
+    proxy_hide_header Upgrade;
+
     include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;
 }