add option to turn on access log

This commit is contained in:
Asif Bacchus
2019-10-18 01:53:20 -06:00
parent d6e49f4d09
commit bfdb85b384
4 changed files with 19 additions and 3 deletions
+1 -2
View File
@@ -35,8 +35,7 @@ http {
'uaddr="$upstream_addr" ustat="$upstream_status" '
'utime="$upstream_response_time" ulen="$upstream_response_length" '
'cache="$upstream_cache_status"';
#access_log /var/log/nginx/access.log main;
access_log off;
access_log <ACCESS_LOG_SETTING>;
# server configuration options
server_tokens off;