fix: simplify nginx try_files to standard SPA fallback pattern
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
kkfluous
2026-06-05 16:47:22 +08:00
parent 8ca8e7a61c
commit c98c0e52a0

View File

@@ -22,7 +22,7 @@ RUN echo "server {\
root /usr/share/nginx/html/lnbox;\ root /usr/share/nginx/html/lnbox;\
index index.html;\ index index.html;\
location / {\ location / {\
try_files \$uri \$uri/ /index.html;\ try_files \$uri /index.html;\
}\ }\
}" > /etc/nginx/conf.d/default.conf }" > /etc/nginx/conf.d/default.conf