From: <abe...@us...> - 2016-09-30 03:57:28
|
Revision: 7870 http://sourceforge.net/p/astlinux/code/7870 Author: abelbeck Date: 2016-09-30 03:57:26 +0000 (Fri, 30 Sep 2016) Log Message: ----------- lighttpd, web interface, force HTTP / to HTTPS /, followup to r7868 Revision Links: -------------- http://sourceforge.net/p/astlinux/code/7868 Modified Paths: -------------- branches/1.0/package/lighttpd/lighttpd.conf Modified: branches/1.0/package/lighttpd/lighttpd.conf =================================================================== --- branches/1.0/package/lighttpd/lighttpd.conf 2016-09-29 20:30:48 UTC (rev 7869) +++ branches/1.0/package/lighttpd/lighttpd.conf 2016-09-30 03:57:26 UTC (rev 7870) @@ -163,7 +163,8 @@ ## Redirect HTTP to HTTPS for /admin/ Authentication $HTTP["scheme"] == "http" { $HTTP["host"] =~ "^(.*)$" { - url.redirect = ( "^/(admin/.*)$" => "https://%1/$1" ) + url.redirect = ( "^/(admin/.*)$" => "https://%1/$1", + "^/$" => "https://%1/" ) } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |