diff --git a/errors/400.html b/errors/400.html index 92f39b2..ce5373d 100644 --- a/errors/400.html +++ b/errors/400.html @@ -3,7 +3,7 @@ Bad Request - <!--# echo var="host" default=""--> - +
diff --git a/errors/401.html b/errors/401.html index 9128f5a..5d0d108 100644 --- a/errors/401.html +++ b/errors/401.html @@ -3,7 +3,7 @@ Unauthorized - <!--# echo var="host" default=""--> - +
diff --git a/errors/402.html b/errors/402.html index dd29d90..eaccd65 100644 --- a/errors/402.html +++ b/errors/402.html @@ -3,7 +3,7 @@ Payment Required - <!--# echo var="host" default=""--> - +
diff --git a/errors/403.html b/errors/403.html index 1262df3..c0986e4 100644 --- a/errors/403.html +++ b/errors/403.html @@ -3,7 +3,7 @@ Forbidden - <!--# echo var="host" default=""--> - +
diff --git a/errors/404.html b/errors/404.html index 89d257d..0f8d833 100644 --- a/errors/404.html +++ b/errors/404.html @@ -3,7 +3,7 @@ Not Found - <!--# echo var="host" default=""--> - +
diff --git a/errors/405.html b/errors/405.html index 8b807f7..277b31f 100644 --- a/errors/405.html +++ b/errors/405.html @@ -3,7 +3,7 @@ Method Not Allowed - <!--# echo var="host" default=""--> - +
diff --git a/errors/406.html b/errors/406.html index b4e5126..1b742d2 100644 --- a/errors/406.html +++ b/errors/406.html @@ -3,7 +3,7 @@ Not Acceptable - <!--# echo var="host" default=""--> - +
diff --git a/errors/407.html b/errors/407.html index 27a4ed9..f2b3759 100644 --- a/errors/407.html +++ b/errors/407.html @@ -3,7 +3,7 @@ Proxy Authentication Required - <!--# echo var="host" default=""--> - +
diff --git a/errors/408.html b/errors/408.html index b3d87f5..6bb563f 100644 --- a/errors/408.html +++ b/errors/408.html @@ -3,7 +3,7 @@ Request Timeout - <!--# echo var="host" default=""--> - +
diff --git a/errors/409.html b/errors/409.html index d407914..b043b7e 100644 --- a/errors/409.html +++ b/errors/409.html @@ -3,7 +3,7 @@ Conflict - <!--# echo var="host" default=""--> - +
diff --git a/errors/410.html b/errors/410.html index 9944fc4..eaad584 100644 --- a/errors/410.html +++ b/errors/410.html @@ -3,7 +3,7 @@ Gone - <!--# echo var="host" default=""--> - +
diff --git a/errors/411.html b/errors/411.html index c15c134..b11c098 100644 --- a/errors/411.html +++ b/errors/411.html @@ -3,7 +3,7 @@ Length Required - <!--# echo var="host" default=""--> - +
diff --git a/errors/412.html b/errors/412.html index 2815109..7f613ed 100644 --- a/errors/412.html +++ b/errors/412.html @@ -3,7 +3,7 @@ Precondition Failed - <!--# echo var="host" default=""--> - +
diff --git a/errors/413.html b/errors/413.html index a3e6722..4e96db8 100644 --- a/errors/413.html +++ b/errors/413.html @@ -3,7 +3,7 @@ Payload Too Large - <!--# echo var="host" default=""--> - +
diff --git a/errors/414.html b/errors/414.html index 1e1c342..21f164b 100644 --- a/errors/414.html +++ b/errors/414.html @@ -3,7 +3,7 @@ URI Too Long - <!--# echo var="host" default=""--> - +
diff --git a/errors/415.html b/errors/415.html index 5986b5d..df72de9 100644 --- a/errors/415.html +++ b/errors/415.html @@ -3,7 +3,7 @@ Unsupported Media Type - <!--# echo var="host" default=""--> - +
diff --git a/errors/416.html b/errors/416.html index 9372043..92e09ce 100644 --- a/errors/416.html +++ b/errors/416.html @@ -3,7 +3,7 @@ Range Not Satisfiable - <!--# echo var="host" default=""--> - +
diff --git a/errors/417.html b/errors/417.html index 700c247..2473a63 100644 --- a/errors/417.html +++ b/errors/417.html @@ -3,7 +3,7 @@ Expectation Failed - <!--# echo var="host" default=""--> - +
diff --git a/errors/418.html b/errors/418.html index a6288de..4ecb6d2 100644 --- a/errors/418.html +++ b/errors/418.html @@ -3,7 +3,7 @@ I'm a teapot - <!--# echo var="host" default=""--> - +
diff --git a/errors/421.html b/errors/421.html index 581c8bb..2dc8728 100644 --- a/errors/421.html +++ b/errors/421.html @@ -3,7 +3,7 @@ Misdirected Request - <!--# echo var="host" default=""--> - +
diff --git a/errors/422.html b/errors/422.html index 48fd2ab..62e6310 100644 --- a/errors/422.html +++ b/errors/422.html @@ -3,7 +3,7 @@ Unprocessable Entity - <!--# echo var="host" default=""--> - +
diff --git a/errors/423.html b/errors/423.html index b4cc3ad..c71fb8f 100644 --- a/errors/423.html +++ b/errors/423.html @@ -3,7 +3,7 @@ Locked - <!--# echo var="host" default=""--> - +
diff --git a/errors/424.html b/errors/424.html index 2f6e586..b498960 100644 --- a/errors/424.html +++ b/errors/424.html @@ -3,7 +3,7 @@ Failed Dependency - <!--# echo var="host" default=""--> - +
diff --git a/errors/425.html b/errors/425.html index d9b35cd..05e6cef 100644 --- a/errors/425.html +++ b/errors/425.html @@ -3,7 +3,7 @@ Too Early - <!--# echo var="host" default=""--> - +
diff --git a/errors/426.html b/errors/426.html index 2672c8f..0f7c92e 100644 --- a/errors/426.html +++ b/errors/426.html @@ -3,7 +3,7 @@ Upgrade Required - <!--# echo var="host" default=""--> - +
diff --git a/errors/428.html b/errors/428.html index cbe3641..90e207f 100644 --- a/errors/428.html +++ b/errors/428.html @@ -3,7 +3,7 @@ Precondition Required - <!--# echo var="host" default=""--> - +
diff --git a/errors/429.html b/errors/429.html index 0b01bb0..1231fec 100644 --- a/errors/429.html +++ b/errors/429.html @@ -3,7 +3,7 @@ Too Many Requests - <!--# echo var="host" default=""--> - +
diff --git a/errors/431.html b/errors/431.html index a25fb32..b65aef4 100644 --- a/errors/431.html +++ b/errors/431.html @@ -3,7 +3,7 @@ Request Header Fields Too Large - <!--# echo var="host" default=""--> - +
diff --git a/errors/451.html b/errors/451.html index 17d3ae6..a1ab7b7 100644 --- a/errors/451.html +++ b/errors/451.html @@ -3,7 +3,7 @@ Unavailable For Legal Reasons - <!--# echo var="host" default=""--> - +
diff --git a/errors/500.html b/errors/500.html index 6fa3ffb..4c5d335 100644 --- a/errors/500.html +++ b/errors/500.html @@ -3,7 +3,7 @@ Internal server error - <!--# echo var="host" default=""--> - +
diff --git a/errors/501.html b/errors/501.html index 795e57b..5f5f560 100644 --- a/errors/501.html +++ b/errors/501.html @@ -3,7 +3,7 @@ Not Implemented - <!--# echo var="host" default=""--> - +
diff --git a/errors/502.html b/errors/502.html index f02c787..b5a7a9a 100644 --- a/errors/502.html +++ b/errors/502.html @@ -3,7 +3,7 @@ Bad Gateway - <!--# echo var="host" default=""--> - +
diff --git a/errors/503.html b/errors/503.html index 7b4d3ee..59f4fd5 100644 --- a/errors/503.html +++ b/errors/503.html @@ -3,7 +3,7 @@ Service Unavailable - <!--# echo var="host" default=""--> - +
diff --git a/errors/504.html b/errors/504.html index 9e4b211..5406bb8 100644 --- a/errors/504.html +++ b/errors/504.html @@ -3,7 +3,7 @@ Gateway Timeout - <!--# echo var="host" default=""--> - +
diff --git a/errors/505.html b/errors/505.html index 723a069..c4e8933 100644 --- a/errors/505.html +++ b/errors/505.html @@ -3,7 +3,7 @@ HTTP Version Not Supported - <!--# echo var="host" default=""--> - +
diff --git a/errors/506.html b/errors/506.html index bfbc4f9..266a023 100644 --- a/errors/506.html +++ b/errors/506.html @@ -3,7 +3,7 @@ Variant Also Negotiates - <!--# echo var="host" default=""--> - +
diff --git a/errors/507.html b/errors/507.html index c3ab4f2..98e18f5 100644 --- a/errors/507.html +++ b/errors/507.html @@ -3,7 +3,7 @@ Insufficient Storage - <!--# echo var="host" default=""--> - +
diff --git a/errors/508.html b/errors/508.html index d63b83e..7a1d6d6 100644 --- a/errors/508.html +++ b/errors/508.html @@ -3,7 +3,7 @@ Error 508 - <!--# echo var="host" default=""--> - +
diff --git a/errors/510.html b/errors/510.html index 9625912..199dcde 100644 --- a/errors/510.html +++ b/errors/510.html @@ -3,7 +3,7 @@ Not Extended - <!--# echo var="host" default=""--> - +
diff --git a/errors/511.html b/errors/511.html index 8f1502a..a575f3a 100644 --- a/errors/511.html +++ b/errors/511.html @@ -3,7 +3,7 @@ Network Authentication Required - <!--# echo var="host" default=""--> - +
diff --git a/nginx-errors.conf b/nginx-errors.conf index 484d59a..dfa3d80 100644 --- a/nginx-errors.conf +++ b/nginx-errors.conf @@ -1,54 +1,46 @@ -error_page 400 /nginx-errors/errors/400.html; -error_page 401 /nginx-errors/errors/401.html; -error_page 402 /nginx-errors/errors/402.html; -error_page 403 /nginx-errors/errors/403.html; -error_page 404 /nginx-errors/errors/404.html; -error_page 405 /nginx-errors/errors/405.html; -error_page 406 /nginx-errors/errors/406.html; -error_page 407 /nginx-errors/errors/407.html; -error_page 408 /nginx-errors/errors/408.html; -error_page 409 /nginx-errors/errors/409.html; -error_page 410 /nginx-errors/errors/410.html; -error_page 411 /nginx-errors/errors/411.html; -error_page 412 /nginx-errors/errors/412.html; -error_page 413 /nginx-errors/errors/413.html; -error_page 414 /nginx-errors/errors/414.html; -error_page 415 /nginx-errors/errors/415.html; -error_page 416 /nginx-errors/errors/416.html; -error_page 417 /nginx-errors/errors/417.html; -error_page 418 /nginx-errors/errors/418.html; -error_page 421 /nginx-errors/errors/421.html; -error_page 422 /nginx-errors/errors/422.html; -error_page 423 /nginx-errors/errors/423.html; -error_page 424 /nginx-errors/errors/424.html; -error_page 425 /nginx-errors/errors/425.html; -error_page 426 /nginx-errors/errors/426.html; -error_page 428 /nginx-errors/errors/428.html; -error_page 429 /nginx-errors/errors/429.html; -error_page 431 /nginx-errors/errors/431.html; -error_page 451 /nginx-errors/errors/451.html; -error_page 500 /nginx-errors/errors/500.html; -error_page 501 /nginx-errors/errors/501.html; -error_page 502 /nginx-errors/errors/502.html; -error_page 503 /nginx-errors/errors/503.html; -error_page 504 /nginx-errors/errors/504.html; -error_page 505 /nginx-errors/errors/505.html; -error_page 506 /nginx-errors/errors/506.html; -error_page 507 /nginx-errors/errors/507.html; -error_page 508 /nginx-errors/errors/508.html; -error_page 510 /nginx-errors/errors/510.html; -error_page 511 /nginx-errors/errors/511.html; +error_page 400 /.nginx-errors/400.html; +error_page 401 /.nginx-errors/401.html; +error_page 402 /.nginx-errors/402.html; +error_page 403 /.nginx-errors/403.html; +error_page 404 /.nginx-errors/404.html; +error_page 405 /.nginx-errors/405.html; +error_page 406 /.nginx-errors/406.html; +error_page 407 /.nginx-errors/407.html; +error_page 408 /.nginx-errors/408.html; +error_page 409 /.nginx-errors/409.html; +error_page 410 /.nginx-errors/410.html; +error_page 411 /.nginx-errors/411.html; +error_page 412 /.nginx-errors/412.html; +error_page 413 /.nginx-errors/413.html; +error_page 414 /.nginx-errors/414.html; +error_page 415 /.nginx-errors/415.html; +error_page 416 /.nginx-errors/416.html; +error_page 417 /.nginx-errors/417.html; +error_page 418 /.nginx-errors/418.html; +error_page 421 /.nginx-errors/421.html; +error_page 422 /.nginx-errors/422.html; +error_page 423 /.nginx-errors/423.html; +error_page 424 /.nginx-errors/424.html; +error_page 425 /.nginx-errors/425.html; +error_page 426 /.nginx-errors/426.html; +error_page 428 /.nginx-errors/428.html; +error_page 429 /.nginx-errors/429.html; +error_page 431 /.nginx-errors/431.html; +error_page 451 /.nginx-errors/451.html; +error_page 500 /.nginx-errors/500.html; +error_page 501 /.nginx-errors/501.html; +error_page 502 /.nginx-errors/502.html; +error_page 503 /.nginx-errors/503.html; +error_page 504 /.nginx-errors/504.html; +error_page 505 /.nginx-errors/505.html; +error_page 506 /.nginx-errors/506.html; +error_page 507 /.nginx-errors/507.html; +error_page 508 /.nginx-errors/508.html; +error_page 510 /.nginx-errors/510.html; +error_page 511 /.nginx-errors/511.html; -location ^~ /nginx-errors/errors/ { - ssi on; - internal; - root /usr/share/nginx/html; -} - -location ^~ /assets/css/style.css { - root /usr/share/nginx/html/nginx-errors/errors; -} - -location ~* montserrat-(400|700).(eot|woff2|woff|ttf|svg) { - root /usr/share/nginx/html/nginx-errors/errors; +location /.nginx-errors { + ssi on; + allow all; + alias /usr/share/nginx/html/nginx-errors/errors/; }