This commit is contained in:
cupcakearmy 2022-02-07 12:26:42 +01:00
parent 0e4526e4d0
commit f0a86e546b
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
3 changed files with 2 additions and 41 deletions

View File

@ -7,5 +7,4 @@ server {
index index.html;
try_files $uri $uri/ /index.html?$args;
}
}

View File

@ -24,24 +24,4 @@ http {
server_tokens off;
include sites/*.conf;
# server {
# listen 80;
# server_name _;
# location / {
# root /srv;
# try_files $uri /index.html =404;
# # add_header Cache-Control "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800";
# }
# error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 /error.html;
# error_page 500 501 502 503 504 505 506 507 508 509 510 511 /error.html;
# location = /error.html {
# internal;
# root /usr/local/nginx/html;
# }
# }
}

View File

@ -1,18 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<style>
html, body{
font-family: 'Courier New', Courier, monospace;
text-align: center;
}
h1 {
font-weight: normal;
}
</style>
</head>
<body>
<h1>error</h1>
</body>
</html>