diff --git a/deploy/nginx.conf b/deploy/nginx.conf index 5e44b68..3d92e38 100644 --- a/deploy/nginx.conf +++ b/deploy/nginx.conf @@ -14,10 +14,10 @@ server { } location / { - try_files $uri $uri/ /404/index.html; + try_files $uri $uri/ =404; } - error_page 404 /404/index.html; + error_page 404 /404.html; location ~* \.(?:css|js|jpg|jpeg|png|webp|svg|ico|woff2)$ { try_files $uri =404;