-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve apache and nginx logging and settings
* Moved nginx logging conf to nginx/vhost.common.d/10-log.conf * Set nginx logging level to warn * Moved nginx general vhost settings to nginx/vhost.common.d/10-settings.conf * Set apache logging to /docker.stdout and /docker.stderr
- Loading branch information
Showing
188 changed files
with
244 additions
and
528 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
4 changes: 2 additions & 2 deletions
4
docker/hhvm-apache/ubuntu-14.04/conf/etc/httpd/conf.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
4 changes: 2 additions & 2 deletions
4
docker/hhvm-apache/ubuntu-16.04/conf/etc/httpd/conf.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog | ||
LogLevel warn | ||
CustomLog /proc/self/fd/1 dockerlog | ||
ErrorLog /proc/self/fd/2 | ||
CustomLog /docker.stdout dockerlog | ||
ErrorLog /docker.stderr |
1 change: 1 addition & 0 deletions
1
docker/hhvm-nginx/ubuntu-14.04/conf/etc/nginx/vhost.common.d/10-general.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
client_max_body_size 50m; |
2 changes: 2 additions & 0 deletions
2
docker/hhvm-nginx/ubuntu-14.04/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr warn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docker/hhvm-nginx/ubuntu-16.04/conf/etc/nginx/vhost.common.d/10-general.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
client_max_body_size 50m; |
2 changes: 2 additions & 0 deletions
2
docker/hhvm-nginx/ubuntu-16.04/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr warn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/alpine-3/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/centos-7/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/debian-7/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/debian-8/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/debian-9/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/ubuntu-12.04/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/ubuntu-14.04/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/ubuntu-15.04/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/ubuntu-15.10/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/ubuntu-16.04/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
2 changes: 2 additions & 0 deletions
2
docker/nginx-dev/ubuntu-16.10/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr info; |
1 change: 1 addition & 0 deletions
1
docker/nginx/alpine-3/conf/etc/nginx/vhost.common.d/10-general.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
client_max_body_size 50m; |
2 changes: 2 additions & 0 deletions
2
docker/nginx/alpine-3/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr warn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docker/nginx/centos-7/conf/etc/nginx/vhost.common.d/10-general.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
client_max_body_size 50m; |
2 changes: 2 additions & 0 deletions
2
docker/nginx/centos-7/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr warn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docker/nginx/debian-7/conf/etc/nginx/vhost.common.d/10-general.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
client_max_body_size 50m; |
2 changes: 2 additions & 0 deletions
2
docker/nginx/debian-7/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr warn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docker/nginx/debian-8/conf/etc/nginx/vhost.common.d/10-general.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
client_max_body_size 50m; |
2 changes: 2 additions & 0 deletions
2
docker/nginx/debian-8/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr warn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docker/nginx/debian-9/conf/etc/nginx/vhost.common.d/10-general.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
client_max_body_size 50m; |
2 changes: 2 additions & 0 deletions
2
docker/nginx/debian-9/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr warn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docker/nginx/ubuntu-12.04/conf/etc/nginx/vhost.common.d/10-general.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
client_max_body_size 50m; |
2 changes: 2 additions & 0 deletions
2
docker/nginx/ubuntu-12.04/conf/etc/nginx/vhost.common.d/10-log.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access_log /docker.stdout; | ||
error_log /docker.stderr warn; |
Oops, something went wrong.