On 12/09/2013 05:41 AM, Dan Michael O. Heggø wrote:
> I'm trying to enforce https for my tool. With webservice started[1], I
> tried putting
> 
> $HTTP["scheme"] == "http" {
>   url.redirect = (".*" => "https://tools.wmflabs.org$0";)
> }
> 
> in my .lighthttpd.conf, but it results in an infinite redirect loop.
> 
> Dan Michael
> 
> [1] https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help/NewWeb

That's because the proxy accepts both but always connects to your
lighttpd over HTTP internally - causing your tool to always redirect.

-- Marc



_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to