|
|
|
@ -81,11 +81,20 @@ apache_vhosts: |
|
|
|
|
extra_parameters: | |
|
|
|
|
RewriteCond %{HTTP_HOST} !^www\. [NC] |
|
|
|
|
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
|
|
|
|
ErrorLog "/var/log/httpd/{{ server_hostname }}_error.log" |
|
|
|
|
ServerSignature Off |
|
|
|
|
ProxyTimeout 600 |
|
|
|
|
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/var/www/html/{{ server_hostname }}/$1" |
|
|
|
|
CustomLog "/var/log/httpd/{{ server_hostname }}_access.log" combined |
|
|
|
|
<Proxy fcgi://localhost:9000> |
|
|
|
|
ProxySet timeout=600 |
|
|
|
|
</Proxy> |
|
|
|
|
<Directory "/var/www/html/{{ server_hostname }}"> |
|
|
|
|
Options Indexes FollowSymLinks |
|
|
|
|
AllowOverride All |
|
|
|
|
DirectoryIndex index.php |
|
|
|
|
Require all granted |
|
|
|
|
</Directory> |
|
|
|
|
|
|
|
|
|
# Disable All Updates |
|
|
|
|
# By default automatic updates are enabled, set this value to true to disable all automatic updates |
|
|
|
|