Remove unnecessary mime types and 404 page

This commit is contained in:
Max Schmidt 2023-10-24 10:28:06 +02:00
parent f260c33f97
commit 2e6cfc7107
2 changed files with 0 additions and 10 deletions

View File

@ -18,7 +18,6 @@ http {
location / {
root /usr/share/nginx/html;
include mime.types;
try_files $uri $uri/ =404;
}
@ -28,7 +27,6 @@ http {
location ~* \.(jpg|jpeg|png|gif|ico|css|js|htm|html)$ {
root /usr/share/nginx/html;
include mime.types;
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";

View File

@ -1,8 +0,0 @@
---
import Layout from "@/layouts/Layout.astro";
---
<Layout title="Not Found" >
<h1 class="text-center text-5xl">Ooops! Site not found.</h1>
</Layout>