<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — iredmail behind an nginx proxy]]></title>
		<link>https://forum.iredmail.org/topic20635-iredmail-behind-an-nginx-proxy.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20635.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in iredmail behind an nginx proxy.]]></description>
		<lastBuildDate>Wed, 09 Oct 2024 19:19:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[iredmail behind an nginx proxy]]></title>
			<link>https://forum.iredmail.org/post89692.html#p89692</link>
			<description><![CDATA[<p>I&#039;ve had a working iredmail setup for sometime now, and all was going well until I introduced an NGINX server to reverse proxy.</p><p>I have webmail.sitea.com and webmail.siteb.com configured as DNS lookups - that works ok.</p><p>I have tried having multiple servers in the nginx servername directive (webmail.sitea.com webmail.siteb.com) and new clients coming in on &quot;http(colon slash slash)webmail.site?.com&quot; get redirected to https(colon slash slash)webmail.site?.com/mail and presented with the login screen - so far so good</p><p>On entering a successful username and password, I get a &quot;cannot find server&quot; and the url that is trying to be loaded is &quot;https(colon slash)mail/&quot;</p><p>the redirect line in the config on the external NGINX is &quot;return 301 https(colon slash slash)$server_name$request_uri&quot; </p><p>I have just tried creating separate NGINX sites for each webmail.site? instance, and it does the same thing</p><p>However, if I use https(colon slash slash)webmail.site?.com it has no problems at all</p><p>Any ideas?</p>]]></description>
			<author><![CDATA[null@example.com (SiBorgian)]]></author>
			<pubDate>Wed, 09 Oct 2024 19:19:23 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89692.html#p89692</guid>
		</item>
	</channel>
</rss>
