Modified 404 logic
This commit is contained in:
@@ -51,6 +51,7 @@ http {
|
|||||||
|
|
||||||
location = /__error/index.html {
|
location = /__error/index.html {
|
||||||
internal;
|
internal;
|
||||||
|
alias /usr/share/nginx/html/index.html;
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
sub_filter_types text/html;
|
sub_filter_types text/html;
|
||||||
sub_filter "__STATUS__" $status;
|
sub_filter "__STATUS__" $status;
|
||||||
|
|||||||
Reference in New Issue
Block a user