add https://search.alexanderstreet.com/
[via-proxy] / p.vbz.ffzg.hr.conf
index 3e1df82..ae34ddd 100644 (file)
@@ -822,6 +822,22 @@ FilterChain NEWPATHS2
        CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
 </VirtualHost>
 
+<VirtualHost *:443>
+       Include /srv/via-proxy/ssl.conf
+
+       ServerName search.alexanderstreet.com.p.vbz.ffzg.hr
+
+       SSLProxyEngine on
+       ProxyAddHeaders Off
+       ProxyPass        / https://search.alexanderstreet.com/
+       ProxyPassReverse / https://search.alexanderstreet.com/
+
+       Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
+       Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
+       CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+</VirtualHost>
+