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