1+ LoadModule logio_module modules/mod_logio.so
12LoadModule deflate_module modules/mod_deflate.so
23LoadModule expires_module modules/mod_expires.so
34LoadModule headers_module modules/mod_headers.so
@@ -14,11 +15,11 @@ TimeOut 1000
1415ProxyTimeout 1000
1516
1617<FilesMatch \.php$>
17- SetHandler "proxy:fcgi://main:<FPM_PORT>"
18+ SetHandler "proxy:fcgi://main:<FPM_PORT>"
1819</FilesMatch>
1920
2021<Proxy "fcgi://main:<FPM_PORT>">
21- ProxySet timeout=1000 disablereuse=on
22+ ProxySet timeout=1000 disablereuse=on
2223</Proxy>
2324
2425SetEnv TYPO3_CONTEXT "<TYPO3_CONTEXT>"
@@ -29,7 +30,38 @@ DirectoryIndex <DOCUMENT_INDEX> index.html index.htm
2930
3031DocumentRoot "<DOCUMENT_ROOT>"
3132<Directory "<DOCUMENT_ROOT>">
32- Options Indexes FollowSymLinks
33- AllowOverride All
34- Require all granted
33+ Options Indexes FollowSymLinks
34+ AllowOverride All
35+ Require all granted
3536</Directory>
37+
38+ LogFormat "[httpd:access] %V:%p %h %l %u %t \"%r\" %>s bytesIn:%I bytesOut:%O reqTime:%T" dockerlog
39+ CustomLog /proc/self/fd/1 dockerlog
40+
41+ #######################################
42+ # Faster error documents
43+ #######################################
44+ <Location ~ "(\.jpeg|\.jpg|\.gif|\.png|\.ico|\.js|\.css|\.map|\.json|\.xml|robots\.txt)$">
45+ ErrorDocument 400 "400 Bad Request"
46+ ErrorDocument 401 "401 Unauthorized"
47+ ErrorDocument 403 "403 Forbidden"
48+ ErrorDocument 404 "404 Not Found"
49+ ErrorDocument 405 "405 Method Not Allowed"
50+
51+ ErrorDocument 500 "500 Internal Server Error"
52+ ErrorDocument 501 "501 Not Implemented"
53+ ErrorDocument 502 "502 Bad Gateway"
54+ ErrorDocument 503 "503 Service Unavailable"
55+ </Location>
56+
57+ #######################################
58+ # Vhost
59+ #######################################
60+ NameVirtualHost *:80
61+ <VirtualHost *:80>
62+ ServerName docker.vm
63+ ServerAlias <ALIAS_DOMAIN>
64+ DocumentRoot "<DOCUMENT_ROOT>"
65+
66+ UseCanonicalName Off
67+ </VirtualHost>
0 commit comments