We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ca644c commit 7b682c7Copy full SHA for 7b682c7
src/serverHandler/vhostHandler.go
@@ -67,7 +67,7 @@ func NewVhostHandler(
67
pageVarys = append(pageVarys, "Referer", "Origin")
68
contentVarys = append(contentVarys, "Referer", "Origin")
69
}
70
- if len(p.AuthUrls) > 0 || len(p.AuthDirs) > 0 {
+ if p.GlobalAuth || len(p.AuthUrls) > 0 || len(p.AuthDirs) > 0 {
71
pageVarys = append(pageVarys, "Authorization")
72
contentVarys = append(contentVarys, "Authorization")
73
0 commit comments