www/nginx: style sweep

This commit is contained in:
Franco Fichtner
2021-05-26 11:20:42 +02:00
parent e6fcf152be
commit 6044259ae5
2 changed files with 1 additions and 3 deletions
@@ -283,8 +283,7 @@ foreach ($nginx->errorpage->iterateItems() as $errorpage) {
@file_put_contents(ERRORPAGE_DIR . "/$filename", $content);
}
chmod(ERRORPAGE_DIR . "/$filename", 0644);
}
else {
} else {
unset($used_errorpages[array_search($uuid, $used_errorpages)]);
}
}
@@ -220,4 +220,3 @@ location {{ location.matchtype }} {{ location.urlpattern }} {
{% endif %}{# honeypot #}
include {{ location['@uuid'] }}_post/*.conf;
}