diff options
Diffstat (limited to 'nginx.conf')
-rw-r--r-- | nginx.conf | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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; |