fix: simplify nginx try_files to standard SPA fallback pattern
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user