openpanel/configuration/nginx/error_pages/snippets/error_pages.conf
2024-09-18 16:27:40 +02:00

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;
}