You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-25 22:12:28 +02:00
Fixed error in reverse.rst and remove unneeded example block.
This commit is contained in:
@@ -243,26 +243,11 @@ Refer to the Traefik documentation for more details.
|
||||
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/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.
|
||||
If you do not have the resources for running a separate reverse proxy, you could override Mailu reverse proxy configuration by using :ref:`an override<override-label>`.
|
||||
Simply store your configuration file (Nginx format), in ``/mailu/overrides/nginx.conf``.
|
||||
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:
|
||||
|
||||
.. code-block:: nginx
|
||||
|
||||
front:
|
||||
build: nginx
|
||||
image: mailu/nginx:$VERSION
|
||||
restart: always
|
||||
env_file: .env
|
||||
ports:
|
||||
[...]
|
||||
volumes:
|
||||
- "$ROOT/certs:/certs"
|
||||
- "$ROOT/overrides/nginx:/overrides"
|
||||
|
||||
You can also download the example configuration files:
|
||||
|
||||
- :download:`compose/traefik/docker-compose.yml`
|
||||
|
||||
Reference in New Issue
Block a user