[F] Fix deploy subpath breadcrumbs
This commit is contained in:
+6
-1
@@ -1,5 +1,9 @@
|
||||
root $dir_path;
|
||||
|
||||
if ($deploy_path = "") {
|
||||
set $deploy_path "/";
|
||||
}
|
||||
|
||||
# The MeowIndex web app block
|
||||
location /__meowindex__ {
|
||||
alias /etc/nginx/MeowIndex/dist;
|
||||
@@ -7,7 +11,8 @@ location /__meowindex__ {
|
||||
# Use sub_filter to configure the app
|
||||
sub_filter_types application/javascript;
|
||||
sub_filter_once off;
|
||||
sub_filter "{DEPLOY-PATH-PLACEHOLDER}" "/__meowindex__";
|
||||
sub_filter "{ASSETS-PATH-PLACEHOLDER}" "/__meowindex__";
|
||||
sub_filter "{DEPLOY-PATH-PLACEHOLDER}" $deploy_path;
|
||||
sub_filter "{HOST-PLACEHOLDER}" "/api";
|
||||
sub_filter "\"/assets" "\"/__meowindex__/assets";
|
||||
sub_filter "File Listing" $title;
|
||||
|
||||
Reference in New Issue
Block a user