From 65516e4223f0a406abaffc24a0fa557f8e327470 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Tue, 28 Jan 2020 17:32:56 +0100 Subject: [PATCH] No ssl on vhosts. curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number --- templates/vhost.conf.j2 | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/templates/vhost.conf.j2 b/templates/vhost.conf.j2 index 56ad674..4ee4346 100644 --- a/templates/vhost.conf.j2 +++ b/templates/vhost.conf.j2 @@ -41,37 +41,3 @@ ProxyPass / {{ item.backend_url }} {% endfor %} {% endif %} - - - ServerName {{ item.servername }} -{% if item.documentroot is defined %} - DocumentRoot "{{ item.documentroot }}" -{% endif %} -{% if item.backend_url is defined %} -{% if "https" in item.backend_url %} - SSLProxyEngine on - SSLCertificateFile "{{ httpd_config_directory }}/ssl/{{ httpd_ssl_servername }}.crt" - SSLCertificateKeyFile "{{ httpd_config_directory }}/ssl/{{ httpd_ssl_servername }}.key" -{% endif %} - {% if item.proxy_preserve_host is defined and item.proxy_preserve_host is sameas true %} -ProxyPreserveHost On - {% elif item.proxy_preserve_host is defined and item.proxy_preserve_host is sameas false %} -ProxyPreserveHost Off - {% endif %} -ProxyPass / {{ item.backend_url }} - ProxyPassReverse / {{ item.backend_url }} -{% endif %} -{% if item.remote is defined %} - ProxyRemote * {{ item.remote }} -{% endif %} -{% if item.proxy_requests is defined and item.proxy_requests is sameas true %} - ProxyRequests On -{% elif item.proxy_requests is defined and item.proxy_requests is sameas false %} - ProxyRequests Off -{% endif %} -{% if item.setenv is defined %} -{% for env in item.setenv %} - SetEnv {{ env.name }} {{ env.value | default("") }} -{% endfor %} -{% endif %} -