Anton Arefiev | 651cb1a | 2015-09-01 10:55:20 +0300 | [diff] [blame] | 1 | Listen %PUBLICPORT% |
| 2 | |
| 3 | <VirtualHost *:%PUBLICPORT%> |
| 4 | WSGIDaemonProcess osapi_volume processes=%APIWORKERS% threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV% |
| 5 | WSGIProcessGroup osapi_volume |
| 6 | WSGIScriptAlias / %CINDER_BIN_DIR%/cinder-wsgi |
| 7 | WSGIApplicationGroup %{GLOBAL} |
| 8 | WSGIPassAuthorization On |
| 9 | <IfVersion >= 2.4> |
| 10 | ErrorLogFormat "%{cu}t %M" |
| 11 | </IfVersion> |
| 12 | ErrorLog /var/log/%APACHE_NAME%/c-api.log |
| 13 | %SSLENGINE% |
| 14 | %SSLCERTFILE% |
| 15 | %SSLKEYFILE% |
| 16 | |
| 17 | <Directory %CINDER_BIN_DIR%> |
| 18 | <IfVersion >= 2.4> |
| 19 | Require all granted |
| 20 | </IfVersion> |
| 21 | <IfVersion < 2.4> |
| 22 | Order allow,deny |
| 23 | Allow from all |
| 24 | </IfVersion> |
| 25 | </Directory> |
| 26 | </VirtualHost> |