Remove unnecessary mime types and 404 page
This commit is contained in:
parent
f260c33f97
commit
2e6cfc7107
@ -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";
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user