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