mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-18 20:37:55 +00:00
REL-0.12 Add directories to globally configure web servers
This commit is contained in:
parent
769b34c3e6
commit
9752af1363
6
.gitignore
vendored
6
.gitignore
vendored
@ -22,6 +22,12 @@
|
||||
/data/
|
||||
/backups/
|
||||
|
||||
# Ignore custom HTTPD configs
|
||||
/cfg/apache-2.2/*.conf
|
||||
/cfg/apache-2.4/*.conf
|
||||
/cfg/nginx-stable/*.conf
|
||||
/cfg/nginx-mainline/*.conf
|
||||
|
||||
# Ignore custom MySQL configs
|
||||
/cfg/mysql-5.5/*.cnf
|
||||
/cfg/mysql-5.6/*.cnf
|
||||
|
0
cfg/apache-2.2/.keepme
Normal file
0
cfg/apache-2.2/.keepme
Normal file
25
cfg/apache-2.2/defaults.conf-example
Normal file
25
cfg/apache-2.2/defaults.conf-example
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Apache 2.2 configuration overwrites
|
||||
#
|
||||
# Make sure this file ends by *.conf, otherwise
|
||||
# the configuration is not sourced by nginx.
|
||||
#
|
||||
# The below settings are just examples.
|
||||
# Copy them, remove them or reset them.
|
||||
#
|
||||
|
||||
AddDefaultCharset UTF-8
|
||||
|
||||
# No DNS
|
||||
HostnameLookups Off
|
||||
|
||||
Timeout 60
|
||||
KeepAlive On
|
||||
KeepAliveTimeout 10
|
||||
MaxKeepAliveRequests 100
|
||||
|
||||
EnableMMAP Off
|
||||
EnableSendfile Off
|
||||
|
||||
XSendFile On
|
||||
XSendFilePath /shared/httpd
|
0
cfg/apache-2.4/.keepme
Normal file
0
cfg/apache-2.4/.keepme
Normal file
25
cfg/apache-2.4/defaults.conf-example
Normal file
25
cfg/apache-2.4/defaults.conf-example
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Apache 2.4 configuration overwrites
|
||||
#
|
||||
# Make sure this file ends by *.conf, otherwise
|
||||
# the configuration is not sourced by nginx.
|
||||
#
|
||||
# The below settings are just examples.
|
||||
# Copy them, remove them or reset them.
|
||||
#
|
||||
|
||||
AddDefaultCharset UTF-8
|
||||
|
||||
# No DNS
|
||||
HostnameLookups Off
|
||||
|
||||
Timeout 60
|
||||
KeepAlive On
|
||||
KeepAliveTimeout 10
|
||||
MaxKeepAliveRequests 100
|
||||
|
||||
EnableMMAP Off
|
||||
EnableSendfile Off
|
||||
|
||||
XSendFile On
|
||||
XSendFilePath /shared/httpd
|
0
cfg/nginx-mainline/.keepme
Normal file
0
cfg/nginx-mainline/.keepme
Normal file
18
cfg/nginx-mainline/defaults.conf-example
Normal file
18
cfg/nginx-mainline/defaults.conf-example
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# Nginx (mainline) configuration overwrites
|
||||
#
|
||||
# Make sure this file ends by *.conf, otherwise
|
||||
# the configuration is not sourced by nginx.
|
||||
#
|
||||
# The below settings are just examples.
|
||||
# Copy them, remove them or reset them.
|
||||
#
|
||||
|
||||
charset utf-8;
|
||||
|
||||
send_timeout 60;
|
||||
keepalive_timeout 10;
|
||||
|
||||
sendfile off;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
0
cfg/nginx-stable/.keepme
Normal file
0
cfg/nginx-stable/.keepme
Normal file
18
cfg/nginx-stable/defaults.conf-example
Normal file
18
cfg/nginx-stable/defaults.conf-example
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# Nginx (stable) configuration overwrites
|
||||
#
|
||||
# Make sure this file ends by *.conf, otherwise
|
||||
# the configuration is not sourced by nginx.
|
||||
#
|
||||
# The below settings are just examples.
|
||||
# Copy them, remove them or reset them.
|
||||
#
|
||||
|
||||
charset utf-8;
|
||||
|
||||
send_timeout 60;
|
||||
keepalive_timeout 10;
|
||||
|
||||
sendfile off;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
@ -272,6 +272,9 @@ services:
|
||||
# Mount custom mass virtual hosting
|
||||
- ${HOST_PATH_HTTPD_DATADIR}:/shared/httpd
|
||||
|
||||
# Mount custom web server config directory
|
||||
- ${DEVILBOX_PATH}/cfg/${HTTPD_SERVER}:/etc/${HTTPD_SERVER}.d
|
||||
|
||||
# Mount logs
|
||||
- ${DEVILBOX_PATH}/log/${HTTPD_SERVER}:/var/log/${HTTPD_SERVER}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user