fix: use the correct variable

This commit is contained in:
Jose Diaz-Gonzalez
2020-02-07 02:57:34 -05:00
parent 6940035d78
commit a8c4065dcf

View File

@@ -79,7 +79,7 @@ fn-nginx-vhosts-manage-hsts() {
local HSTS_TEMPLATE="$PLUGIN_AVAILABLE_PATH/nginx-vhosts/templates/hsts.conf.sigil"
if [[ "$HSTS" == "false" ]] || [[ "$SSL_ENABLED" != "true" ]]; then
rm -rf "NGINX_HSTS_CONF"
rm -rf "$NGINX_HSTS_CONF"
return
fi