forked from WordPress/WordPress
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-apache.conf
29 lines (28 loc) · 1.03 KB
/
docker-apache.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<VirtualHost *:80>
# http://httpd.apache.org/docs/2.4/logs.html
# We could use more than one entry for ErrorLog/CustomLog
# ErrorLog /proc/self/fd/2
ErrorLog "|/usr/bin/rotatelogs -l /var/log/apache2/error-%Y.%m.%d.log 86400"
# rotatelogs -e sends them to stdout as well
# CustomLog /proc/self/fd/1 common
CustomLog "|/usr/bin/rotatelogs -e -l /var/log/apache2/access-%Y.%m.%d.log 86400" common
SetEnv WP_JETPACK_DEV_DEBUG 1
SetEnv WP_DEBUG 0
SetEnv WP_DEBUG_LOG 0
SetEnv WP_DEBUG_DISPLAY 0
SetEnv SCRIPT_DEBUG 0
SetEnv SAVEQUERIES 0
SetEnv WP_DB_NAME banane
SetEnv WP_DB_USER banane
SetEnv WP_DB_PASS banane
SetEnv WP_DB_HOST localhost
SetEnv WP_ABSPATH /usr/share/wordpress
DocumentRoot /usr/share/wordpress
ErrorDocument 404 /index.php?error=404
Timeout 300
<Directory /usr/share/wordpress>
Require all granted
AllowOverride all
</Directory>
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet