fix: use the correct variable

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-02-07 02:59:52 -05:00
1 parent 6940035d78
commit a8c4065dcf
1 file changed
+1 -1
+1 -1
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