diff --git a/conf/nginx.conf b/conf/nginx.conf index cd28941..60c020e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -49,19 +49,19 @@ location __PATH__/ { # Cache-control location ~ ^__PATH__/data/ { - more_set_headers Cache-Control public; + more_set_headers 'Cache-Control: public'; expires 12h; } location ~ ^__PATH__/core/ { - more_set_headers Cache-Control public; + more_set_headers 'Cache-Control: public'; expires 12h; } location ~ ^__PATH__/plugins/ { - more_set_headers Cache-Control public; + more_set_headers 'Cache-Control: public'; expires 12h; } location ~ ^__PATH__/themes/ { - more_set_headers Cache-Control public; + more_set_headers 'Cache-Control: public'; expires 12h; } diff --git a/scripts/upgrade b/scripts/upgrade index 400578c..e6c4e88 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -64,13 +64,6 @@ ynh_clean_setup () { # Exit if an error occurs during the execution of the script ynh_abort_if_errors -#================================================= -# CHECK THE PATH -#================================================= - -# Normalize the URL path syntax -path_url=$(ynh_normalize_url_path --path_url=$path_url) - #================================================= # STANDARD UPGRADE STEPS #=================================================