mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-09 11:20:18 +01:00
Fixing cgi proxy.
This commit is contained in:
parent
beffe801fb
commit
10305ac7d7
1 changed files with 5 additions and 1 deletions
|
@ -72,7 +72,11 @@ apache_vhosts:
|
||||||
extra_parameters: |
|
extra_parameters: |
|
||||||
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
||||||
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||||
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/var/www/html/{{ server_hostname }}"
|
ProxyTimeout 600
|
||||||
|
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/var/www/html/{{ server_hostname }}/$1"
|
||||||
|
<Proxy fcgi://localhost:9000>
|
||||||
|
ProxySet timeout=600
|
||||||
|
</Proxy>
|
||||||
|
|
||||||
# Disable All Updates
|
# Disable All Updates
|
||||||
# By default automatic updates are enabled, set this value to true to disable all automatic updates
|
# By default automatic updates are enabled, set this value to true to disable all automatic updates
|
||||||
|
|
Loading…
Reference in a new issue