<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Upgrading Roundcube to 1.7.0]]></title>
		<link>https://forum.iredmail.org/topic21141-upgrading-roundcube-to-170.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic21141.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Upgrading Roundcube to 1.7.0.]]></description>
		<lastBuildDate>Tue, 12 May 2026 09:35:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Upgrading Roundcube to 1.7.0]]></title>
			<link>https://forum.iredmail.org/post91945.html#p91945</link>
			<description><![CDATA[<p>DRAFT upgrade tutorial:<br /><a href="https://docs.iredmail.org/upgrade.iredmail.1.8.0-1.8.1.html">https://docs.iredmail.org/upgrade.iredm … 1.8.1.html</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 12 May 2026 09:35:12 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91945.html#p91945</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrading Roundcube to 1.7.0]]></title>
			<link>https://forum.iredmail.org/post91944.html#p91944</link>
			<description><![CDATA[<p>This is a working sample Nginx config:<br /><a href="https://github.com/iredmail/iRedMail/commit/f1be6a1524823459263fc8f5db111728529680a6#diff-2b8636f86b6c70f62e8baee2ceb40bd0e7b608c2eaab0dddf4085cb8f67e50ca">https://github.com/iredmail/iRedMail/co … b8f67e50ca</a></p><p>I will release iRedMail-1.8.1 shortly with detailed upgrade tutorial, so that you guys don&#039;t need to go through this pain.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 12 May 2026 08:35:05 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91944.html#p91944</guid>
		</item>
		<item>
			<title><![CDATA[Upgrading Roundcube to 1.7.0]]></title>
			<link>https://forum.iredmail.org/post91943.html#p91943</link>
			<description><![CDATA[<p>Maybe this info will help someone.</p><p>After upgrading to Roundcube 1.7.0, before restarting nginx and php-fpm services, it is necessary to alter &quot;/etc/nginx/templates/roundcube.tmpl&quot; to the following:</p><div class="codebox"><pre><code>#
# Roundcube 1.7+ fixed Nginx template
#

#
# Redirect root to /mail/
#
location = / {
    return 301 /mail/;
}

#
# Redirect /mail -&gt; /mail/
#
location = /mail {
    return 301 /mail/;
}

#
# Roundcube front controller
#
location /mail/ {
    alias /opt/www/roundcubemail/public_html/;
    index index.php;

    try_files $uri $uri/ @roundcube;
}

#
# Internal rewrite to index.php
#
location @roundcube {
    rewrite ^ /mail/index.php last;
}

#
# PHP handling
#
location ~ ^/mail/(.+\.php)(/.+)?$ {

    fastcgi_split_path_info ^/mail/(.+\.php)(/.+)$;

    include /etc/nginx/templates/hsts.tmpl;
    include /etc/nginx/templates/fastcgi_php.tmpl;

    fastcgi_param SCRIPT_FILENAME /opt/www/roundcubemail/public_html/$1;
    fastcgi_param PATH_INFO $fastcgi_path_info;
}</code></pre></div><p>This works for me, but if there is a better or more elegant solution, please post it.</p>]]></description>
			<author><![CDATA[null@example.com (veco68)]]></author>
			<pubDate>Tue, 12 May 2026 07:11:36 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91943.html#p91943</guid>
		</item>
	</channel>
</rss>
