1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-12-01 22:41:53 +02:00

Merge pull request #713 from pgeorgi/extend-nginx

nginx: Allow extending config with overrides
This commit is contained in:
Tim Möhlmann
2018-12-09 21:44:24 +02:00
committed by GitHub
7 changed files with 23 additions and 8 deletions

View File

@@ -32,7 +32,8 @@ services:
{% endfor %}
volumes:
- "{{ root }}/certs:/certs"
- "{{ root }}/overrides/nginx:/overrides"
{% if resolver_enabled %}
resolver:
image: mailu/unbound:{{ version }}

View File

@@ -111,6 +111,9 @@ COMPRESSION_LEVEL={{ compression_level }}
# Web settings
###################################
# Path to redirect / to
WEBROOT_REDIRECT=/webmail
# Path to the admin interface if enabled
WEB_ADMIN={{ admin_path }}

View File

@@ -27,6 +27,7 @@ services:
{% endfor %}
volumes:
- "{{ root }}/certs:/certs"
- "{{ root }}/overrides/nginx:/overrides"
deploy:
replicas: {{ front_replicas }}