rename nextcloud-conf.conf to nginx-nextcloud.conf

This commit is contained in:
dkoao 2019-09-27 08:19:06 +00:00
parent fdd6628709
commit 610fbc5d49
2 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ def do_web_update(env):
template2 = open(os.path.join(os.path.dirname(__file__), "../conf/nginx-primaryonly.conf")).read() template2 = open(os.path.join(os.path.dirname(__file__), "../conf/nginx-primaryonly.conf")).read()
# Check if the user doesn't want Nextcloud. # Check if the user doesn't want Nextcloud.
if environ.get('DISABLE_NEXTCLOUD') != '0': if environ.get('DISABLE_NEXTCLOUD') != '0':
template2_nextcloud = open(os.path.join(os.path.dirname(__file__), "../conf/nextcloud-conf.conf")).read() template2_nextcloud = open(os.path.join(os.path.dirname(__file__), "../conf/nginx-nextcloud.conf")).read()
template3 = "\trewrite ^(.*) https://$REDIRECT_DOMAIN$1 permanent;\n" template3 = "\trewrite ^(.*) https://$REDIRECT_DOMAIN$1 permanent;\n"
# Add the PRIMARY_HOST configuration first so it becomes nginx's default server. # Add the PRIMARY_HOST configuration first so it becomes nginx's default server.