ansible-role-nginx/files/config/conf.d/logging.conf
2021-09-01 02:00:18 +02:00

4 lines
246 B
Text

log_format vcombined '$host:$server_port $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
access_log /var/log/nginx/access.log vcombined;
error_log /var/log/nginx/error.log warn;