mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-03 14:52:36 +02:00
Fix error in reverse proxy example for how to include nginx override.
Also clarified where the file is included in the nginx configuration file.
This commit is contained in:
parent
e910bfd71d
commit
10c02c0a32
@ -244,7 +244,9 @@ Override Mailu configuration
|
||||
----------------------------
|
||||
|
||||
If you do not have the resources for running a separate reverse proxy, you could override Mailu reverse proxy configuration by using a Docker volume.
|
||||
Simply store your configuration file (Nginx format), in ``/mailu/nginx.conf`` for instance.
|
||||
Simply store your configuration file (Nginx format), in ``/mailu/overrides/nginx.conf`` for instance.
|
||||
All *.conf files will be included in the main server block of Mailu in nginx which listens on port 80/443.
|
||||
Add location blocks for any services that must be proxied.
|
||||
|
||||
Then modify your ``docker-compose.yml`` file and change the ``front`` section to add a mount:
|
||||
|
||||
@ -259,7 +261,7 @@ Then modify your ``docker-compose.yml`` file and change the ``front`` section to
|
||||
[...]
|
||||
volumes:
|
||||
- "$ROOT/certs:/certs"
|
||||
- "$ROOT/nginx.conf:/etc/nginx/nginx.conf"
|
||||
- "$ROOT/overrides/nginx:/overrides"
|
||||
|
||||
You can also download the example configuration files:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user