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