mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
14 lines
331 B
Plaintext
14 lines
331 B
Plaintext
include snippets/error_pages_content.conf;
|
|
|
|
location ^~ /_errors/ {
|
|
root /srv/http/default;
|
|
allow all;
|
|
}
|
|
location ~ /(10[0-3]|2[02][1-9]|30[1-8]|4[0125][0-9]|50[0-9])\.html {
|
|
root /srv/http/default;
|
|
sub_filter '%{HOSTNAME}' $host;
|
|
sub_filter_once off;
|
|
allow all;
|
|
internal;
|
|
}
|