aboutsummaryrefslogtreecommitdiffstats
path: root/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf8
1 files changed, 1 insertions, 7 deletions
diff --git a/nginx.conf b/nginx.conf
index 4b8416e..3217e80 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -6,14 +6,8 @@ server {
root /usr/share/nginx/html;
index index.html index.htm;
- location ~* \.(?:ico|css|js|gif|jpe?g|png|woff2?|eot|ttf|svg|otf|webp)$ {
- expires 30d;
- access_log off;
- add_header Cache-Control "public";
- }
-
location / {
- try_files $uri $uri/ /index.html;
+ try_files $uri $uri/ =404;
}
error_page 404 /404.html;