mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/nginx: Added "=" to error page location blocks (#1084)
* Added "=" to error page location blocks
This commit is contained in:
committed by
Fabian Franz BSc
parent
bc51c3bd65
commit
fd8bdec00f
@@ -137,15 +137,15 @@ server {
|
||||
return 403 "You got banned permanently from this server.";
|
||||
}
|
||||
error_page 418 = @permanentban;
|
||||
location /opnsense_server_error.html {
|
||||
location = /opnsense_server_error.html {
|
||||
internal;
|
||||
root /usr/local/etc/nginx/views;
|
||||
}
|
||||
location /opnsense_error_404.html {
|
||||
location = /opnsense_error_404.html {
|
||||
internal;
|
||||
root /usr/local/etc/nginx/views;
|
||||
}
|
||||
location /waf_denied.html {
|
||||
location = /waf_denied.html {
|
||||
root /usr/local/etc/nginx/views;
|
||||
access_log /var/log/nginx/waf_denied.access.log main;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user