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

ansible-inventories/gentner#2288 Add proxy_http and SSLProxyEngine

parent 215cf4ab
Branches
No related tags found
No related merge requests found
......@@ -145,6 +145,10 @@
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
<IfModule mod_proxy_http>
SSLProxyEngine on
</IfModule>
{% if drupal_domain.protocol|default("https") == "https" and groups.proxyserver is not defined %}
Include /etc/apache2/{{ apache_conf_dir }}/options-ssl-apache.conf
{% if drupal_domain.letsencrypt|default(true) %}
......@@ -195,6 +199,10 @@
RewriteEngine on
RewriteRule {{ drupal_domain.aliases_redirect_pattern|default('^') }} https://{{ drupal_domain.domain }}%{REQUEST_URI} [END,QSA,R=permanent]
<IfModule mod_proxy_http>
SSLProxyEngine on
</IfModule>
{% if drupal_domain.protocol|default("https") == "https" and groups.proxyserver is not defined %}
Include /etc/apache2/{{ apache_conf_dir }}/options-ssl-apache.conf
{% if drupal_domain.letsencrypt|default(true) %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment