fix: remove duplicate try_files directive
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 1s

- Remove duplicate try_files causing nginx syntax error
- Keep only SPA routing support
This commit is contained in:
happybell80 2025-07-17 23:55:16 +09:00
parent 9395a46d4c
commit f45b7951dd

View File

@ -49,7 +49,6 @@ server {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.html;
try_files $uri $uri/ =404;
}
location /.well-known/acme-challenge/ {