Search squid archive

Automatic redirect to https

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

 



Hi folks,

I've set up an reverse proxy ("accel mode") using Squid Cache: Version 3.5.20 which works fine. It listens on port 443 speaking https to the client and https with a self signed certificate to the server. I'm happy with that.

Now I want to redirect every client which asks the proxy at port 80 using http to port 443 using https.

Using url_rewrite_program doesn't work for me, so I tried ACLs:

http_port 80 accel vhost
acl redir localport 80
http_access deny redir
deny_info 301:https://myfqdn.com/sub/ redir

After restarting squid, the proxy doesn't deny the request at port 80 but I had access to my webserver via http! Can someone please tell me what's wrong with my ACL? I don't get it. Thank you very much!

King regards
Marc Werner

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux