Skip to content
Snippets Groups Projects
Commit a0bd01ad authored by jurgenhaas's avatar jurgenhaas
Browse files

Optionally run PHP FPM over a socket

parent 9738891b
Branches
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
{% if drupal.jail is defined %}
{% if drupal.jail is defined and not php_fpm_socket|default(false) %}
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:{{ drupal.jail.port }}{{ drupalRoot }}/$1
{% endif %}
SetEnv HTTP_X_FORWARDED_HOST {{ drupal_domain.domain }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment