mirror of
https://github.com/Dannecron/littlelink.git
synced 2025-12-25 16:12:34 +03:00
[docker] allow use path prefix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user