From 60fc6d9993298514ee30d04106b226bb90155233 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 7 Mar 2019 18:23:00 +0100 Subject: [PATCH] Fix path --- conf/nginx.conf | 2 +- scripts/change_url | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index d8cfae8..dd7559e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -22,7 +22,7 @@ location __PATH__ # on every applicaiton update the name of CSS and JS file is different, # so they can be cache infinitely (here: 30 days) # the root path MUST NOT be cached - if ($uri != '/wekan') + if ($uri != '/__PATH__') { expires 30d; } diff --git a/scripts/change_url b/scripts/change_url index 30d2896..f0e667b 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -80,7 +80,7 @@ then domain="$old_domain" path_url="$new_path" # Create a dedicated nginx config - ynh_add_nginx_config + ynh_add_nginx_config port fi # Change the domain for nginx