Skip to content

Commit a1be781

Browse files
committed
nginx vhost conf: disable authentication for error pages
1 parent d489c02 commit a1be781

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

server/conf/nginx_vhost.conf.master

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,34 +102,42 @@ server {
102102
location = /error/400.html {
103103
<tmpl_var name='web_document_root_www_proxy'>
104104
internal;
105+
auth_basic off;
105106
}
106107
location = /error/401.html {
107108
<tmpl_var name='web_document_root_www_proxy'>
108109
internal;
110+
auth_basic off;
109111
}
110112
location = /error/403.html {
111113
<tmpl_var name='web_document_root_www_proxy'>
112114
internal;
115+
auth_basic off;
113116
}
114117
location = /error/404.html {
115118
<tmpl_var name='web_document_root_www_proxy'>
116119
internal;
120+
auth_basic off;
117121
}
118122
location = /error/405.html {
119123
<tmpl_var name='web_document_root_www_proxy'>
120124
internal;
125+
auth_basic off;
121126
}
122127
location = /error/500.html {
123128
<tmpl_var name='web_document_root_www_proxy'>
124129
internal;
130+
auth_basic off;
125131
}
126132
location = /error/502.html {
127133
<tmpl_var name='web_document_root_www_proxy'>
128134
internal;
135+
auth_basic off;
129136
}
130137
location = /error/503.html {
131138
<tmpl_var name='web_document_root_www_proxy'>
132139
internal;
140+
auth_basic off;
133141
}
134142
</tmpl_if>
135143

0 commit comments

Comments
 (0)