Skip to content

Commit 4737d0d

Browse files
stsimbSotiris Tsimbonis
andauthored
fix: fix for Safari/iOS error NSPOSIXErrorDomain:100 (hestiacp#1513)
https://forum.hestiacp.com/t/fix-for-safari-ios-error-nsposixerrordomain-100/2438 Co-authored-by: Sotiris Tsimbonis <stsimb@tesla4.local>
1 parent 4b4edd5 commit 4737d0d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

install/deb/templates/web/nginx/caching.stpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,7 @@ server {
4848
location ~ /\.hg/ {return 404;}
4949
location ~ /\.bzr/ {return 404;}
5050

51+
proxy_hide_header Upgrade;
52+
5153
include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;
5254
}

install/deb/templates/web/nginx/default.stpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ server {
3939
location ~ /\.hg/ {return 404;}
4040
location ~ /\.bzr/ {return 404;}
4141

42+
proxy_hide_header Upgrade;
43+
4244
include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;
4345
}
4446

install/deb/templates/web/nginx/hosting.stpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ server {
4141

4242
disable_symlinks if_not_owner from=%docroot%;
4343

44+
proxy_hide_header Upgrade;
45+
4446
include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;
4547
}
4648

0 commit comments

Comments
 (0)