1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

owncloud: support MOD_X_ACCEL_REDIRECT_ENABLED

This lets downloads from the file app work.
This commit is contained in:
Joshua Tauberer
2014-08-15 23:10:05 +00:00
parent 398b538e2b
commit 8c9f278166
2 changed files with 9 additions and 7 deletions

View File

@@ -79,6 +79,7 @@ def make_domain_config(domain, template, env):
# Replace substitution strings in the template & return.
nginx_conf = template
nginx_conf = nginx_conf.replace("$STORAGE_ROOT", env['STORAGE_ROOT'])
nginx_conf = nginx_conf.replace("$HOSTNAME", domain)
nginx_conf = nginx_conf.replace("$ROOT", root)
nginx_conf = nginx_conf.replace("$SSL_KEY", ssl_key)