Improve Nginx config file to handle mailing list subscription/unsubscription.
This commit is contained in:
parent
9e9372c14b
commit
8ace6771ba
|
@ -10,6 +10,7 @@
|
|||
|
||||
## ChangeLog
|
||||
|
||||
* Jun 19, Improve Nginx config file to handle mailing list subscription/unsubscription
|
||||
* Mar 12, Add new ldap attribute/value pairs required by Dovecot-2.3.
|
||||
* Mar 4, Upgrade SOGo from v3 to v4.
|
||||
* Mar 4, Upgrade Roundcube webmail to the latet version - 1.3.6.
|
||||
|
@ -218,6 +219,27 @@ location ~ ^/iredadmin/static/(.*) { # Remove file types
|
|||
|
||||
Reloading or restarting Nginx service is required.
|
||||
|
||||
### Improve Nginx config file to handle mailing list subscription/unsubscription
|
||||
|
||||
iRedMail integrates mlmmj as mailing list manager (integration tutorial
|
||||
mentioned later in this tutorial), it supports subscription and unsubscription
|
||||
from web page. To hide the application handle the subscription/unsubscription
|
||||
behind it, iRedMail requires a new URL `https://<server>/newsletter/` for this
|
||||
purpose.
|
||||
|
||||
Please append lines below to file `/etc/nginx/templates/iredadmin.tmpl`
|
||||
(on Linux/OpenBSD) or `/usr/local/etc/nginx/templates/iredadmin.tmpl` (on
|
||||
FreeBSD)
|
||||
|
||||
```
|
||||
# Handle newsletter-style subscription/unsubscription supported in iRedAdmin-Pro.
|
||||
location ~ ^/newsletter/ {
|
||||
rewrite /newsletter/(.*) /iredadmin/newsletter/$1 last;
|
||||
}
|
||||
```
|
||||
|
||||
Reloading or restarting Nginx service is required.
|
||||
|
||||
### [SECURITY] Fixed: Nginx snippet file doesn't block access to Roundcube sensitive files
|
||||
|
||||
!!! attention
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
<li><a href="#fixed-sogo-backup-script-contains-3-issues">Fixed: SOGo backup script contains 3 issues</a></li>
|
||||
<li><a href="#fail2ban-new-jail-postfix-pregreet">Fail2ban: new jail postfix-pregreet</a></li>
|
||||
<li><a href="#fixed-nginx-snippet-file-hard-codes-static-file-types-for-iredadmin">Fixed: Nginx snippet file hard-codes static file types for iRedAdmin</a></li>
|
||||
<li><a href="#improve-nginx-config-file-to-handle-mailing-list-subscriptionunsubscription">Improve Nginx config file to handle mailing list subscription/unsubscription</a></li>
|
||||
<li><a href="#security-fixed-nginx-snippet-file-doesnt-block-access-to-roundcube-sensitive-files">[SECURITY] Fixed: Nginx snippet file doesn't block access to Roundcube sensitive files</a></li>
|
||||
<li><a href="#fix-unexpected-dnsbl-query-result-for-site-bbarracudacentralorg">Fix unexpected DNSBL query result for site b.barracudacentral.org</a></li>
|
||||
<li><a href="#openbsd-upgrade-uwsgi-to-the-latest-2017">OpenBSD: Upgrade uwsgi to the latest 2.0.17</a></li>
|
||||
|
@ -72,6 +73,7 @@ check <a href="https://www.iredmail.org/support.html">the details</a> and
|
|||
</div>
|
||||
<h2 id="changelog">ChangeLog</h2>
|
||||
<ul>
|
||||
<li>Jun 19, Improve Nginx config file to handle mailing list subscription/unsubscription</li>
|
||||
<li>Mar 12, Add new ldap attribute/value pairs required by Dovecot-2.3.</li>
|
||||
<li>Mar 4, Upgrade SOGo from v3 to v4.</li>
|
||||
<li>Mar 4, Upgrade Roundcube webmail to the latet version - 1.3.6.</li>
|
||||
|
@ -256,6 +258,22 @@ hard-codes static file types like below:</p>
|
|||
}
|
||||
</code></pre>
|
||||
|
||||
<p>Reloading or restarting Nginx service is required.</p>
|
||||
<h3 id="improve-nginx-config-file-to-handle-mailing-list-subscriptionunsubscription">Improve Nginx config file to handle mailing list subscription/unsubscription</h3>
|
||||
<p>iRedMail integrates mlmmj as mailing list manager (integration tutorial
|
||||
mentioned later in this tutorial), it supports subscription and unsubscription
|
||||
from web page. To hide the application handle the subscription/unsubscription
|
||||
behind it, iRedMail requires a new URL <code>https://<server>/newsletter/</code> for this
|
||||
purpose.</p>
|
||||
<p>Please append lines below to file <code>/etc/nginx/templates/iredadmin.tmpl</code>
|
||||
(on Linux/OpenBSD) or <code>/usr/local/etc/nginx/templates/iredadmin.tmpl</code> (on
|
||||
FreeBSD)</p>
|
||||
<pre><code># Handle newsletter-style subscription/unsubscription supported in iRedAdmin-Pro.
|
||||
location ~ ^/newsletter/ {
|
||||
rewrite /newsletter/(.*) /iredadmin/newsletter/$1 last;
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<p>Reloading or restarting Nginx service is required.</p>
|
||||
<h3 id="security-fixed-nginx-snippet-file-doesnt-block-access-to-roundcube-sensitive-files">[SECURITY] Fixed: Nginx snippet file doesn't block access to Roundcube sensitive files</h3>
|
||||
<div class="admonition attention">
|
||||
|
|
Loading…
Reference in New Issue