nginx: Allow extending config with overrides

To facilitate this, the default redirect at / can be disabled, even if
the default remains at redirecting to the webmailer.

The extensions are within the host scope and are read from
$ROOT/overrides/nginx/*.conf.
This commit is contained in:
Patrick Georgi
2018-11-27 00:12:12 +01:00
parent 5c24390114
commit eac4d553a9
4 changed files with 10 additions and 3 deletions

View File

@@ -97,6 +97,9 @@ COMPRESSION_LEVEL=
# Web settings
###################################
# Path to redirect / to
WEB_DEFAULT=/webmail
# Path to the admin interface if enabled
WEB_ADMIN=/admin

View File

@@ -29,6 +29,7 @@ services:
- "$BIND_ADDRESS6:587:587"
volumes:
- "$ROOT/certs:/certs"
- "$ROOT/overrides/nginx:/overrides"
redis:
image: redis:alpine