Merge pull request #5 from kazu634/modify-log-type
Change log type to `json`.
This commit is contained in:
commit
9add9907d2
|
@ -23,7 +23,7 @@ server {
|
||||||
# Enable HSTS (HTTP Strict Transport Security)
|
# Enable HSTS (HTTP Strict Transport Security)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
|
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;
|
error_log /var/log/nginx/drone.error.log;
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
|
@ -23,7 +23,7 @@ server {
|
||||||
# Enable HSTS (HTTP Strict Transport Security)
|
# Enable HSTS (HTTP Strict Transport Security)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
|
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;
|
error_log /var/log/nginx/faktory.error.log;
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
|
@ -23,7 +23,7 @@ server {
|
||||||
# Enable HSTS (HTTP Strict Transport Security)
|
# Enable HSTS (HTTP Strict Transport Security)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
|
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;
|
error_log /var/log/nginx/gitea.error.log;
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
|
@ -23,7 +23,7 @@ server {
|
||||||
# Enable HSTS (HTTP Strict Transport Security)
|
# Enable HSTS (HTTP Strict Transport Security)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
|
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;
|
error_log /var/log/nginx/grafana.error.log;
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
|
@ -23,7 +23,7 @@ server {
|
||||||
# Enable HSTS (HTTP Strict Transport Security)
|
# Enable HSTS (HTTP Strict Transport Security)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
|
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;
|
error_log /var/log/nginx/pocket.error.log;
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
|
@ -28,7 +28,7 @@ server {
|
||||||
root /var/www/blog;
|
root /var/www/blog;
|
||||||
index index.html index.htm;
|
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;
|
error_log /var/log/nginx/blog.error.log;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
|
@ -27,7 +27,7 @@ server {
|
||||||
root /var/www/test;
|
root /var/www/test;
|
||||||
index index.html index.htm;
|
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;
|
error_log /var/log/nginx/stag.error.log;
|
||||||
|
|
||||||
http2_max_field_size 256k;
|
http2_max_field_size 256k;
|
||||||
|
|
|
@ -23,7 +23,7 @@ server {
|
||||||
# Enable HSTS (HTTP Strict Transport Security)
|
# Enable HSTS (HTTP Strict Transport Security)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
|
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;
|
error_log /var/log/nginx/drone.error.log;
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
|
@ -27,7 +27,7 @@ server {
|
||||||
root /var/www/everun;
|
root /var/www/everun;
|
||||||
index index.html index.htm;
|
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;
|
error_log /var/log/nginx/everun.error.log;
|
||||||
|
|
||||||
http2_max_field_size 256k;
|
http2_max_field_size 256k;
|
||||||
|
@ -67,7 +67,7 @@ server {
|
||||||
# Enable HSTS (HTTP Strict Transport Security)
|
# Enable HSTS (HTTP Strict Transport Security)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
|
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;
|
error_log /var/log/nginx/everun.error.log;
|
||||||
|
|
||||||
http2_max_field_size 256k;
|
http2_max_field_size 256k;
|
||||||
|
|
|
@ -27,7 +27,7 @@ server {
|
||||||
root /var/www/test-everun;
|
root /var/www/test-everun;
|
||||||
index index.html index.htm;
|
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;
|
error_log /var/log/nginx/stag-everun.error.log;
|
||||||
|
|
||||||
http2_max_field_size 256k;
|
http2_max_field_size 256k;
|
||||||
|
|
Loading…
Reference in New Issue