mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/nginx: style sweep
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user