-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
will accept PRWill accept pull requestWill accept pull request
Description
if auth_basic is enabled, the default 401 error page will be shown, not the styled one.
to fix this, the error locations should have auth_basic off;
nginx-errors.conf:
...
location ^~ /nginx-errors/errors/ {
auth_basic off;
ssi on;
internal;
root /usr/share/nginx/html;
}
location ^~ /assets/css/style.css {
auth_basic off;
root /usr/share/nginx/html/nginx-errors/errors;
}
location ~* montserrat-(400|700).(eot|woff2|woff|ttf|svg) {
auth_basic off;
root /usr/share/nginx/html/nginx-errors/errors;
}
Metadata
Metadata
Assignees
Labels
will accept PRWill accept pull requestWill accept pull request