9e3c2bb65b
This patch switches to Apache and mod_wsgi by default for devstack. Also, use memcached as the coordinatior for single node deployments. Change-Id: I8798c04f2bc386aca32bda8961efd29298899890
27 lines
778 B
Plaintext
27 lines
778 B
Plaintext
<Directory %DESIGNATE_BIN_DIR%>
|
|
Require all granted
|
|
</Directory>
|
|
|
|
<VirtualHost *:9001>
|
|
WSGIDaemonProcess designate-api processes=%APIWORKERS% threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
|
WSGIProcessGroup designate-api
|
|
WSGIScriptAlias / %DESIGNATE_BIN_DIR%/designate-api-wsgi
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%M"
|
|
</IfVersion>
|
|
ErrorLog /var/log/%APACHE_NAME%/designate-api.log
|
|
%SSLENGINE%
|
|
%SSLCERTFILE%
|
|
%SSLKEYFILE%
|
|
</VirtualHost>
|
|
|
|
Alias /dns %DESIGNATE_BIN_DIR%/designate-api-wsgi
|
|
<Location /dns>
|
|
SetHandler wsgi-script
|
|
Options +ExecCGI
|
|
WSGIProcessGroup designate-api
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
</Location> |