diff --git a/consul-template.d/templates/drone.tmpl b/consul-template.d/templates/drone.tmpl index d6de894..aa7e9d3 100644 --- a/consul-template.d/templates/drone.tmpl +++ b/consul-template.d/templates/drone.tmpl @@ -23,7 +23,7 @@ server { # Enable HSTS (HTTP Strict Transport Security) add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"; - access_log /var/log/nginx/drone.access.log ltsv; + access_log /var/log/nginx/drone.access.log json; error_log /var/log/nginx/drone.error.log; proxy_set_header Host $host; diff --git a/consul-template.d/templates/faktory.tmpl b/consul-template.d/templates/faktory.tmpl index 8b1f96b..2ddf3d9 100644 --- a/consul-template.d/templates/faktory.tmpl +++ b/consul-template.d/templates/faktory.tmpl @@ -23,7 +23,7 @@ server { # Enable HSTS (HTTP Strict Transport Security) add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"; - access_log /var/log/nginx/faktory.access.log ltsv; + access_log /var/log/nginx/faktory.access.log json; error_log /var/log/nginx/faktory.error.log; proxy_set_header Host $host; diff --git a/consul-template.d/templates/gitea.tmpl b/consul-template.d/templates/gitea.tmpl index 32c51cb..a5ef648 100644 --- a/consul-template.d/templates/gitea.tmpl +++ b/consul-template.d/templates/gitea.tmpl @@ -23,7 +23,7 @@ server { # Enable HSTS (HTTP Strict Transport Security) add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"; - access_log /var/log/nginx/gitea.access.log ltsv; + access_log /var/log/nginx/gitea.access.log json; error_log /var/log/nginx/gitea.error.log; proxy_set_header Host $host; diff --git a/consul-template.d/templates/grafana.tmpl b/consul-template.d/templates/grafana.tmpl index 2b9c928..e84ad5f 100644 --- a/consul-template.d/templates/grafana.tmpl +++ b/consul-template.d/templates/grafana.tmpl @@ -23,7 +23,7 @@ server { # Enable HSTS (HTTP Strict Transport Security) add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"; - access_log /var/log/nginx/grafana.access.log ltsv; + access_log /var/log/nginx/grafana.access.log json; error_log /var/log/nginx/grafana.error.log; proxy_set_header Host $host; diff --git a/consul-template.d/templates/pocket.tmpl b/consul-template.d/templates/pocket.tmpl index 760acbd..47ec99e 100644 --- a/consul-template.d/templates/pocket.tmpl +++ b/consul-template.d/templates/pocket.tmpl @@ -23,7 +23,7 @@ server { # Enable HSTS (HTTP Strict Transport Security) add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"; - access_log /var/log/nginx/pocket.access.log ltsv; + access_log /var/log/nginx/pocket.access.log json; error_log /var/log/nginx/pocket.error.log; proxy_set_header Host $host; diff --git a/sites-available/blog b/sites-available/blog index 291c93f..23f296a 100644 --- a/sites-available/blog +++ b/sites-available/blog @@ -28,7 +28,7 @@ server { root /var/www/blog; index index.html index.htm; - access_log /var/log/nginx/blog.access.log ltsv; + access_log /var/log/nginx/blog.access.log json; error_log /var/log/nginx/blog.error.log; location / { diff --git a/sites-available/blog-staging b/sites-available/blog-staging index 9600e71..b3068cd 100644 --- a/sites-available/blog-staging +++ b/sites-available/blog-staging @@ -27,7 +27,7 @@ server { root /var/www/test; index index.html index.htm; - access_log /var/log/nginx/stag.access.log ltsv; + access_log /var/log/nginx/stag.access.log json; error_log /var/log/nginx/stag.error.log; http2_max_field_size 256k; @@ -86,7 +86,7 @@ server { auth_request_set $email $upstream_http_x_auth_request_email; proxy_set_header X-User $user; proxy_set_header X-Email $email; - + # if you enabled --pass-access-token, this will pass the token to the backend auth_request_set $token $upstream_http_x_auth_request_access_token; proxy_set_header X-Access-Token $token; diff --git a/sites-available/drone b/sites-available/drone index 9c0ff29..14e985d 100644 --- a/sites-available/drone +++ b/sites-available/drone @@ -23,7 +23,7 @@ server { # Enable HSTS (HTTP Strict Transport Security) add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"; - access_log /var/log/nginx/drone.access.log ltsv; + access_log /var/log/nginx/drone.access.log json; error_log /var/log/nginx/drone.error.log; proxy_set_header Host $host; diff --git a/sites-available/everun b/sites-available/everun index 4d0510f..d28db54 100644 --- a/sites-available/everun +++ b/sites-available/everun @@ -27,7 +27,7 @@ server { root /var/www/everun; index index.html index.htm; - access_log /var/log/nginx/everun.access.log ltsv; + access_log /var/log/nginx/everun.access.log json; error_log /var/log/nginx/everun.error.log; http2_max_field_size 256k; @@ -67,7 +67,7 @@ server { # Enable HSTS (HTTP Strict Transport Security) add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"; - access_log /var/log/nginx/everun.access.log ltsv; + access_log /var/log/nginx/everun.access.log json; error_log /var/log/nginx/everun.error.log; http2_max_field_size 256k; diff --git a/sites-available/everun-staging b/sites-available/everun-staging index 0503393..9d2efb7 100644 --- a/sites-available/everun-staging +++ b/sites-available/everun-staging @@ -27,7 +27,7 @@ server { root /var/www/test-everun; index index.html index.htm; - access_log /var/log/nginx/stag-everun.access.log ltsv; + access_log /var/log/nginx/stag-everun.access.log json; error_log /var/log/nginx/stag-everun.error.log; http2_max_field_size 256k;