plugins - support log_default() hook, same as log() but for default server

This commit is contained in:
bunkerity
2022-06-22 11:24:47 +02:00
parent c563731e86
commit e21a35017a
7 changed files with 94 additions and 66 deletions

View File

@@ -1,5 +1,6 @@
{% if DISABLE_DEFAULT_SERVER == "yes" +%}
location / {
set $reason "default";
return 444;
}
{% endif %}