<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Lighttpd on ohneKontur – der Blog</title>
		<link>https://www.ohnekontur.de/tags/lighttpd/</link>
		<description>Recent content in Lighttpd on ohneKontur – der Blog</description>
		<generator>Hugo</generator>
		<language>de-DE</language>
		
		
		
		
			<lastBuildDate>Sun, 21 Mar 2010 12:23:17 +0000</lastBuildDate>
		
			<atom:link href="https://www.ohnekontur.de/tags/lighttpd/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Lighttpd – Von Http nach Https umleiten</title>
				<link>https://www.ohnekontur.de/2010/03/21/lighttpd-von-http-nach-https-umleiten/</link>
				<pubDate>Sun, 21 Mar 2010 12:23:17 +0000</pubDate>
				<guid>https://www.ohnekontur.de/2010/03/21/lighttpd-von-http-nach-https-umleiten/</guid>
				<description>&lt;p&gt;Ich hatte neulich&lt;br&gt;&#xA;das Problem,&lt;br&gt;&#xA;das eine meiner Domains nur per HTTPS erreichbar sein sollte.&lt;br&gt;&#xA;Es sollten alle HTTP aufrufe mit einem Redirect auf HTTPS verwiesen werden,&lt;br&gt;&#xA;und dies sollte der Webserver machen (lighttpd).&lt;/p&gt;&#xA;&lt;p&gt;Hier ist nun der Configteil der dies tut.&lt;/p&gt;&#xA;&lt;pre lang=&#34;bash&#34;&gt;$HTTP[&#34;scheme&#34;] == &#34;http&#34; {&#xA;$HTTP[&#34;host&#34;] =~ &#34;^((.+\.)?example\.com)$&#34; {&#xA;url.redirect = ( &#34;^/(.*)&#34; =&amp;gt; &#34;https://%1/$1&#34; )&#xA;}&#xA;&lt;/pre&gt;</description>
			</item>
	</channel>
</rss>
