This commit is contained in:
Zhang Huangbin 2018-09-21 11:17:02 +08:00
parent bac753f48b
commit 43013af695
2 changed files with 10 additions and 8 deletions

View File

@ -42,10 +42,11 @@ max_connections = 1024
- a bash shell script for advanced customization. This file will be executed
every time iRedMail cloud platform deploys / upgrades the Nginx component.
A sample usage: Nginx doesn't support override existing settings by
same parameter from another config file, so you can use `rm` command in
this file (`custom.sh`) to remove the config file generated by iRedMail
cloud platform.
For example, Nginx doesn't support override existing settings by
loading same parameter from another config file, in this case you should
run `rm` command in this file (`custom.sh`) to remove existing config
file generated by iRedMail cloud platform and store custom settings in
another file.
- `/opt/iredmail/custom/nginx/conf-enabled/`: additional Nginx global settings used inside `http {}` block.
- If you want to override a parameter which is already defined in

View File

@ -78,10 +78,11 @@ max_connections = 1024
<li>a bash shell script for advanced customization. This file will be executed
every time iRedMail cloud platform deploys / upgrades the Nginx component.</li>
</ul>
<p>A sample usage: Nginx doesn't support override existing settings by
same parameter from another config file, so you can use <code>rm</code> command in
this file (<code>custom.sh</code>) to remove the config file generated by iRedMail
cloud platform.</p>
<p>For example, Nginx doesn't support override existing settings by
loading same parameter from another config file, in this case you should
run <code>rm</code> command in this file (<code>custom.sh</code>) to remove existing config
file generated by iRedMail cloud platform and store custom settings in
another file.</p>
</li>
<li>
<p><code>/opt/iredmail/custom/nginx/conf-enabled/</code>: additional Nginx global settings used inside <code>http {}</code> block.</p>