Skip to content

Commit b0a39ae

Browse files
committed
Set log format in HTTPS server block
1 parent 0cdf36c commit b0a39ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.conf.sigil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ server {
8686
listen 443 ssl http2;
8787
{{ if .SSL_SERVER_NAME }}server_name {{ .SSL_SERVER_NAME }}; {{ end }}
8888

89-
access_log /var/log/nginx/{{ .APP }}-access.log;
89+
access_log /var/log/nginx/{{ .APP }}-access.log json;
9090
error_log /var/log/nginx/{{ .APP }}-error.log;
9191

9292
ssl_certificate {{ .APP_SSL_PATH }}/server.crt;

0 commit comments

Comments
 (0)