Debian/Ubuntu: Must run 'a2enmod headers' to make sure required Apache module is enabled.

This commit is contained in:
Zhang Huangbin 2015-12-23 20:53:09 +08:00
parent 79697156fe
commit b0d87ce211
2 changed files with 16 additions and 0 deletions

View File

@ -6,6 +6,7 @@
> We offer remote upgrade service, check [the price](../support.html) and [contact us](../contact.html).
* 2015-12-23: Run `a2enmod headers` on Debian/Ubuntu to make sure required Apache module is enabled.
* 2015-12-16: Mention how to enable greylisting in iRedAPD.
* 2015-12-14: New section: `Upgrade iRedAdmin (open source edition) to the latest stable release`.
* 2015-12-14: New section: `Migrate from Cluebringer to iRedAPD`.
@ -318,6 +319,14 @@ and append below settings right after `SSLEngine on` line:
Header always set Strict-Transport-Security "max-age=15768000; includeSubdomains"
```
On Debian 8 and Ubuntu, run command below to make sure Apache module `headers`
is enabled:
```
a2enmod headers
service apache2 restart
```
<h4>Nginx</h4>
For Nginx, please edit its config file which manages SSL related settings,

View File

@ -69,6 +69,7 @@
<p>We offer remote upgrade service, check <a href="../support.html">the price</a> and <a href="../contact.html">contact us</a>.</p>
</blockquote>
<ul>
<li>2015-12-23: Run <code>a2enmod headers</code> on Debian/Ubuntu to make sure required Apache module is enabled.</li>
<li>2015-12-16: Mention how to enable greylisting in iRedAPD.</li>
<li>2015-12-14: New section: <code>Upgrade iRedAdmin (open source edition) to the latest stable release</code>.</li>
<li>2015-12-14: New section: <code>Migrate from Cluebringer to iRedAPD</code>.</li>
@ -345,6 +346,12 @@ and append below settings right after <code>SSLEngine on</code> line:</p>
Header always set Strict-Transport-Security &quot;max-age=15768000; includeSubdomains&quot;
</code></pre>
<p>On Debian 8 and Ubuntu, run command below to make sure Apache module <code>headers</code>
is enabled:</p>
<pre><code>a2enmod headers
service apache2 restart
</code></pre>
<h4>Nginx</h4>
<p>For Nginx, please edit its config file which manages SSL related settings,