diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.4-0.9.5.md b/en_US/upgrade/0-upgrade.iredmail.0.9.4-0.9.5.md index c27677c8..281335c9 100644 --- a/en_US/upgrade/0-upgrade.iredmail.0.9.4-0.9.5.md +++ b/en_US/upgrade/0-upgrade.iredmail.0.9.4-0.9.5.md @@ -6,7 +6,6 @@ > We offer remote upgrade service, check [the price](../support.html) and [contact us](../contact.html). -* 2016-03-15: [Nginx] Fixed: not explicitly define `Content-Type: text/html` header for iRedAdmin * 2016-03-08: [NEW] Supports Postfix `sender_dependent_relayhost_maps`. * 2016-02-25: * [RHEL/CentOS] Fixed: Not create required directory used to store PHP session files @@ -61,32 +60,6 @@ chmod 0773 /var/lib/php/session chmod o+t /var/lib/php/session ``` -### [Nginx] Fixed: not explicitly define `Content-Type: text/html` header for iRedAdmin - -We didn't add explicit `Content-Type` header for iRedAdmin pages, this will -cause error (web pages inaccessible) if you have setting -`add_header X-Content-Type-Options nosniff;` in Nginx. - -To prevent this issue, please add setting `add_header Content-Type 'text/html';` -in Nginx config file to explicitly define the content type, in -`location ~ ^/iredadmin(.*) {}` block: - -* On Linux/OpenBSD, it's `/etc/nginx/templates/iredadmin.tmpl` (iRedMail-0.9.3 - or newer releases) or `/etc/nginx/conf.d/default.conf`. -* On FreeBSD, it's `/usr/local/etc/nginx/templates/iredadmin.tmpl` - (iRedMail-0.9.3 or newer releases) or `/usr/local/etc/nginx/conf.d/default.conf`. - -``` -# Python scripts -location ~ ^/iredadmin(.*) { - add_header Content-Type 'text/html'; # <-- Add this line - - ... -} -``` - -Reloading or restarting Nginx service is required. - ### Fixed: not add alias for `virusalert` on non-Debian/Ubuntu OSes Note: this is __NOT__ applicable to Debian and Ubuntu. diff --git a/html/upgrade.iredmail.0.9.4-0.9.5.html b/html/upgrade.iredmail.0.9.4-0.9.5.html index 6e3e4a6b..e4bc5bee 100644 --- a/html/upgrade.iredmail.0.9.4-0.9.5.html +++ b/html/upgrade.iredmail.0.9.4-0.9.5.html @@ -18,7 +18,6 @@
We offer remote upgrade service, check the price and contact us.
Content-Type: text/html
header for iRedAdminsender_dependent_relayhost_maps
.Content-Type: text/html
header for iRedAdminWe didn't add explicit Content-Type
header for iRedAdmin pages, this will
-cause error (web pages inaccessible) if you have setting
-add_header X-Content-Type-Options nosniff;
in Nginx.
To prevent this issue, please add setting add_header Content-Type 'text/html';
-in Nginx config file to explicitly define the content type, in
-location ~ ^/iredadmin(.*) {}
block:
/etc/nginx/templates/iredadmin.tmpl
(iRedMail-0.9.3
- or newer releases) or /etc/nginx/conf.d/default.conf
./usr/local/etc/nginx/templates/iredadmin.tmpl
- (iRedMail-0.9.3 or newer releases) or /usr/local/etc/nginx/conf.d/default.conf
.# Python scripts
-location ~ ^/iredadmin(.*) {
- add_header Content-Type 'text/html'; # <-- Add this line
-
- ...
-}
-
-
-Reloading or restarting Nginx service is required.
virusalert
on non-Debian/Ubuntu OSesNote: this is NOT applicable to Debian and Ubuntu.
There's a bug in iRedMail-0.9.4, it adds alias virusalert
on only Debian and