Davanum Srinivas | d5537c1 | 2015-04-30 21:10:48 -0400 | [diff] [blame] | 1 | Listen %PUBLICPORT% |
| 2 | |
| 3 | <VirtualHost *:%PUBLICPORT%> |
Marian Horban | 13f6557 | 2015-06-10 14:34:22 -0400 | [diff] [blame] | 4 | WSGIDaemonProcess nova-api processes=%APIWORKERS% threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV% |
Davanum Srinivas | d5537c1 | 2015-04-30 21:10:48 -0400 | [diff] [blame] | 5 | WSGIProcessGroup nova-api |
| 6 | WSGIScriptAlias / %PUBLICWSGI% |
| 7 | WSGIApplicationGroup %{GLOBAL} |
| 8 | WSGIPassAuthorization On |
| 9 | <IfVersion >= 2.4> |
Marian Horban | 4abb31d | 2015-10-26 12:35:45 -0400 | [diff] [blame] | 10 | ErrorLogFormat "%M" |
Davanum Srinivas | d5537c1 | 2015-04-30 21:10:48 -0400 | [diff] [blame] | 11 | </IfVersion> |
| 12 | ErrorLog /var/log/%APACHE_NAME%/nova-api.log |
| 13 | %SSLENGINE% |
| 14 | %SSLCERTFILE% |
| 15 | %SSLKEYFILE% |
Marian Horban | 13f6557 | 2015-06-10 14:34:22 -0400 | [diff] [blame] | 16 | </VirtualHost> |
Marian Horban | e62c906 | 2015-06-24 16:25:16 -0400 | [diff] [blame] | 17 | |
| 18 | Alias /compute %PUBLICWSGI% |
| 19 | <Location /compute> |
| 20 | SetHandler wsgi-script |
| 21 | Options +ExecCGI |
| 22 | WSGIProcessGroup nova-api |
| 23 | WSGIApplicationGroup %{GLOBAL} |
| 24 | WSGIPassAuthorization On |
| 25 | </Location> |