blob: 64435677407c21e6926f20e45b0d14c9a289717f [file] [log] [blame]
Davanum Srinivasd5537c12015-04-30 21:10:48 -04001Listen %PUBLICPORT%
2
3<VirtualHost *:%PUBLICPORT%>
Marian Horban13f65572015-06-10 14:34:22 -04004 WSGIDaemonProcess nova-ec2-api processes=%APIWORKERS% threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
Davanum Srinivasd5537c12015-04-30 21:10:48 -04005 WSGIProcessGroup nova-ec2-api
6 WSGIScriptAlias / %PUBLICWSGI%
7 WSGIApplicationGroup %{GLOBAL}
8 WSGIPassAuthorization On
9 <IfVersion >= 2.4>
10 ErrorLogFormat "%{cu}t %M"
11 </IfVersion>
12 ErrorLog /var/log/%APACHE_NAME%/nova-ec2-api.log
13 %SSLENGINE%
14 %SSLCERTFILE%
15 %SSLKEYFILE%
Marian Horban13f65572015-06-10 14:34:22 -040016</VirtualHost>
Marian Horban08585542015-10-12 11:36:51 -040017
18Alias /ec2 %PUBLICWSGI%
19<Location /ec2>
20 SetHandler wsgi-script
21 Options +ExecCGI
22 WSGIProcessGroup nova-ec2-api
23 WSGIApplicationGroup %{GLOBAL}
24 WSGIPassAuthorization On
25</Location>