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