diff --git a/templates/proxy_site.j2 b/templates/proxy_site.j2 index db1cbe4..9ee0994 100644 --- a/templates/proxy_site.j2 +++ b/templates/proxy_site.j2 @@ -32,9 +32,9 @@ server { ssl_prefer_server_ciphers on; {% if proxy_site_dontlog_ips is defined %} - access_log {{ proxy_site_log_path }}/{{ item.key }}.log main if=$log_ip; + access_log {{ proxy_site_log_path }}/{{ item.key }}.log if=$log_ip; {% else %} -access_log {{ proxy_site_log_path }}/{{ item.key }}.log main; +access_log {{ proxy_site_log_path }}/{{ item.key }}.log; {% endif %} {% if proxy_sites[item.key]['max_upload'] is defined %}