Search squid archive

reverse proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have Debian Linux and Squid Version 2.7.STABLE3. As I understand
from the documentation, there was some change in the version and I did
not find relevant information on the net.

I have the following scenario:

client - https - squid - https - server1
client - https - squid - http - server2


This is what I added to the squid.conf

http_port 80 accel defaultsite=dflt1.domain.sk vhost
https_port 443 cert=/etc/squid/ssl.crt key=/etc/squid/ssl.key defaultsite=dflt1.domain.sk vhost

acl webmail dstdomain webmail.domain.sk

cache_peer dflt1.domain.sk parent 80 0 no-query originserver
cache_peer dflt1.domain.sk parent 443 0 no-query ssl sslflags=DONT_VERIFY_PEER front-end-https 
name=dflt1
cache_peer webmail.domain.sk parent 80 0 no-query originserver name=dflt2


cache_peer_access dflt2 allow webmail



According to log the redirection is either all the time http or https
(if i add protocol=http to the configuration above):

1260203474.257    116 Y.Y.Y.Y TCP_MISS/502 1439 GET https://webmail.domain.sk/ - DIRECT/
X.X.X.X text/html



How can I configure squid as https reverse proxy and one page redirect to
the https backend server and the second page redirect to the http
backend server?

Any hint appreciated.

Thank you very much.

Regards,

lk
begin:vcard
n:Koren;Ludovit
fn:Ludovit Koren
tel;cell:+421905237687
tel;work:+421250257151
url:http://www.tempest.sk
org:Tempest a.s.;Services
url:http://www.tempest.sk
adr:;;Plynarenska 7/B
Bratislava Business Center V.;Bratislava;;821 09;Slovak republic
email;internet:Ludovit_Koren@xxxxxxxxxx
title:Senior Consultant
version:2.1
end:vcard

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux