We gotta regen the ssowat conf to propagate the change

This commit is contained in:
Alexandre Aubin 2019-10-29 16:38:15 +01:00
parent 79627d79cc
commit 71bc6a0faf

View file

@ -612,6 +612,8 @@ def app_change_url(operation_logger, app, domain, path):
app_setting(app, 'domain', value=domain)
app_setting(app, 'path', value=path)
app_ssowatconf()
# avoid common mistakes
if _run_service_command("reload", "nginx") is False:
# grab nginx errors