Enable access log for default backend

disable log on default_server
This commit is contained in:
Mikhail Marchenko 2019-02-20 02:02:01 +03:00
parent c50fe1bc68
commit 8b3702c829
5 changed files with 119 additions and 71 deletions

View file

@ -615,6 +615,8 @@ http {
{{ if $IsIPV6Enabled }}listen [::]:{{ $all.ListenPorts.Default }} default_server {{ if $all.Cfg.ReusePort }}reuseport{{ end }} backlog={{ $all.BacklogSize }};{{ end }}
set $proxy_upstream_name "internal";
access_log off;
location / {
return 404;
}