[docker] allow use path prefix

This commit is contained in:
2024-09-08 16:02:42 +07:00
parent 560d6c7203
commit 68df7076c1
2 changed files with 6 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
server {
listen 80;
location / {
root /opt/litterlink;
index index.html;
location ~ ^$LINK_PREFIX/$ {
root /opt/litterlink/;
try_files /index.html =404;
}
}