Route all of the logging through syslog-ng. Add the ability to specify extra syslog-ng config. Simplify the Dockerfile.
This commit is contained in:
parent
b1537a01aa
commit
24cf27bd12
32 changed files with 32 additions and 46 deletions
|
@ -1,6 +1,5 @@
|
|||
# vim: ft=nginx
|
||||
|
||||
client_body_temp_path /var/log/nginx/client_body 1 2;
|
||||
server_name _;
|
||||
|
||||
keepalive_timeout 5;
|
||||
|
@ -36,7 +35,7 @@ location /v1/repositories/ {
|
|||
|
||||
proxy_pass http://registry_app_server;
|
||||
proxy_read_timeout 2000;
|
||||
proxy_temp_path /var/log/nginx/proxy_temp 1 2;
|
||||
proxy_temp_path /tmp 1 2;
|
||||
|
||||
limit_req zone=repositories burst=10;
|
||||
}
|
||||
|
@ -47,7 +46,7 @@ location /v1/ {
|
|||
proxy_request_buffering off;
|
||||
|
||||
proxy_pass http://registry_app_server;
|
||||
proxy_temp_path /var/log/nginx/proxy_temp 1 2;
|
||||
proxy_temp_path /tmp 1 2;
|
||||
|
||||
client_max_body_size 20G;
|
||||
}
|
||||
|
@ -58,7 +57,7 @@ location /c1/ {
|
|||
proxy_request_buffering off;
|
||||
|
||||
proxy_pass http://verbs_app_server;
|
||||
proxy_temp_path /var/log/nginx/proxy_temp 1 2;
|
||||
proxy_temp_path /tmp 1 2;
|
||||
|
||||
limit_req zone=verbs burst=10;
|
||||
}
|
||||
|
|
Reference in a new issue