diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 0c67a8c60..a7a209f55 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -125,7 +125,8 @@ function configure_designate { # We are using the http transport to work around an issue with # broken connections when using the uwsgi protocol of a local socket # See bug: https://github.com/unbit/uwsgi/issues/2368 - echo 'ProxyPass "/dns" "http://127.0.0.1:60053" retry=0' | sudo tee /etc/apache2/sites-available/designate-api-wsgi.conf + wsgi_conf=$(apache_site_config_for designate-api-wsgi) + echo 'ProxyPass "/dns" "http://127.0.0.1:60053" retry=0' | sudo tee $wsgi_conf iniset $DESIGNATE_UWSGI_CONF uwsgi http-socket 127.0.0.1:60053 else _config_designate_apache_wsgi