Mention /opt/iredmail/custom/nginx/webapps/.
This commit is contained in:
parent
2a7f8b1cde
commit
3ac9577aa3
|
@ -238,15 +238,28 @@ index attr_4,attr_5,attr_6 eq,pres
|
|||
command in this file (`custom.sh`) to remove existing config file
|
||||
generated by iRedMail Easy 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
|
||||
`/etc/nginx/conf-enabled/`, please update `/opt/iredmail/custom/nginx/custom.sh`
|
||||
to remove file under `/etc/nginx/conf-enabled/` first, then write your
|
||||
own config file under `/opt/iredmail/custom/nginx/conf-enabled/` to set
|
||||
a proper value.
|
||||
|
||||
- `/opt/iredmail/custom/nginx/sites-conf.d/default-ssl/`: additional settings for default https website (inside the `server {}` block).
|
||||
- `/opt/iredmail/custom/nginx/sites-conf.d/default-ssl/`: additional settings
|
||||
for default https website (inside the `server {}` block).
|
||||
- `/opt/iredmail/custom/nginx/sites-enabled/`: additional virtual web hosts.
|
||||
- `/opt/iredmail/custom/nginx/webapps/`: additional settings for certain web
|
||||
applications, usually used to add ACL for the web applications. Including:
|
||||
|
||||
- `adminer.conf`: loaded in file `/etc/nginx/template/adminer.tmpl`.
|
||||
- `iredadmin.conf`: loaded in file `/etc/nginx/template/iredadmin.tmpl`.
|
||||
- `netdata.conf`: loaded in file `/etc/nginx/template/netdata.tmpl`.
|
||||
- `roundcube.conf`: it will be loaded in file `/etc/nginx/templates/roundcube*.tmpl`.
|
||||
- `sogo.conf`: loaded in file `/etc/nginx/template/sogo.tmpl`.
|
||||
- `php_fpm_status.conf`: loaded in file `/etc/nginx/template/php_fpm_status.tmpl`.
|
||||
- `stub_status.conf`: loaded in file `/etc/nginx/template/stub_status.tmpl`.
|
||||
|
||||
iRedMail uses the directory structure recommended by Debian/Ubuntu:
|
||||
|
||||
|
@ -278,6 +291,7 @@ iRedMail uses the directory structure recommended by Debian/Ubuntu:
|
|||
|- conf-enabled/
|
||||
|- sites-available/
|
||||
|- sites-enabled/
|
||||
|- webapps/ # config snippets for certain web applications.
|
||||
|- custom.sh # shell script used for advanced customization
|
||||
```
|
||||
|
||||
|
|
|
@ -362,7 +362,8 @@ index attr_4,attr_5,attr_6 eq,pres
|
|||
generated by iRedMail Easy 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>
|
||||
<p><code>/opt/iredmail/custom/nginx/conf-enabled/</code>: additional Nginx global settings
|
||||
used inside <code>http {}</code> block.</p>
|
||||
<ul>
|
||||
<li>If you want to override a parameter which is already defined in
|
||||
<code>/etc/nginx/conf-enabled/</code>, please update <code>/opt/iredmail/custom/nginx/custom.sh</code>
|
||||
|
@ -372,9 +373,23 @@ index attr_4,attr_5,attr_6 eq,pres
|
|||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>/opt/iredmail/custom/nginx/sites-conf.d/default-ssl/</code>: additional settings for default https website (inside the <code>server {}</code> block).</p>
|
||||
<p><code>/opt/iredmail/custom/nginx/sites-conf.d/default-ssl/</code>: additional settings
|
||||
for default https website (inside the <code>server {}</code> block).</p>
|
||||
</li>
|
||||
<li><code>/opt/iredmail/custom/nginx/sites-enabled/</code>: additional virtual web hosts.</li>
|
||||
<li>
|
||||
<p><code>/opt/iredmail/custom/nginx/webapps/</code>: additional settings for certain web
|
||||
applications, usually used to add ACL for the web applications. Including:</p>
|
||||
<ul>
|
||||
<li><code>adminer.conf</code>: loaded in file <code>/etc/nginx/template/adminer.tmpl</code>.</li>
|
||||
<li><code>iredadmin.conf</code>: loaded in file <code>/etc/nginx/template/iredadmin.tmpl</code>.</li>
|
||||
<li><code>netdata.conf</code>: loaded in file <code>/etc/nginx/template/netdata.tmpl</code>.</li>
|
||||
<li><code>roundcube.conf</code>: it will be loaded in file <code>/etc/nginx/templates/roundcube*.tmpl</code>.</li>
|
||||
<li><code>sogo.conf</code>: loaded in file <code>/etc/nginx/template/sogo.tmpl</code>.</li>
|
||||
<li><code>php_fpm_status.conf</code>: loaded in file <code>/etc/nginx/template/php_fpm_status.tmpl</code>.</li>
|
||||
<li><code>stub_status.conf</code>: loaded in file <code>/etc/nginx/template/stub_status.tmpl</code>.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<p>iRedMail uses the directory structure recommended by Debian/Ubuntu:</p>
|
||||
<pre><code>/etc/nginx/ # all config files
|
||||
|
@ -404,6 +419,7 @@ index attr_4,attr_5,attr_6 eq,pres
|
|||
|- conf-enabled/
|
||||
|- sites-available/
|
||||
|- sites-enabled/
|
||||
|- webapps/ # config snippets for certain web applications.
|
||||
|- custom.sh # shell script used for advanced customization
|
||||
</code></pre>
|
||||
|
||||
|
|
Loading…
Reference in New Issue