Chris Dent | 4d60175 | 2016-07-12 19:34:09 +0000 | [diff] [blame] | 1 | Listen %PUBLICPORT% |
| 2 | |
| 3 | <VirtualHost *:%PUBLICPORT%> |
| 4 | WSGIDaemonProcess placement-api processes=%APIWORKERS% threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV% |
| 5 | WSGIProcessGroup placement-api |
| 6 | WSGIScriptAlias / %PUBLICWSGI% |
| 7 | WSGIApplicationGroup %{GLOBAL} |
| 8 | WSGIPassAuthorization On |
| 9 | <IfVersion >= 2.4> |
| 10 | ErrorLogFormat "%M" |
| 11 | </IfVersion> |
| 12 | ErrorLog /var/log/%APACHE_NAME%/placement-api.log |
| 13 | %SSLENGINE% |
| 14 | %SSLCERTFILE% |
| 15 | %SSLKEYFILE% |
| 16 | </VirtualHost> |
| 17 | |
| 18 | Alias /placement %PUBLICWSGI% |
| 19 | <Location /placement> |
| 20 | SetHandler wsgi-script |
| 21 | Options +ExecCGI |
| 22 | WSGIProcessGroup placement-api |
| 23 | WSGIApplicationGroup %{GLOBAL} |
| 24 | WSGIPassAuthorization On |
| 25 | </Location> |