52 lines
1.8 KiB
Plaintext
52 lines
1.8 KiB
Plaintext
Listen {{ wsgi_config.public_port }}
|
|
Listen {{ wsgi_nova_metadata.public_port }}
|
|
<VirtualHost *:{{ wsgi_config.public_port }}>
|
|
WSGIDaemonProcess nova-api processes=4 threads=1 user={{ wsgi_config.user }} group={{ wsgi_config.group }} \
|
|
display-name=%{GROUP}
|
|
WSGIProcessGroup nova-api
|
|
{% if ingress_internal.ingress_path -%}
|
|
WSGIScriptAlias {{ ingress_internal.ingress_path }} {{ wsgi_config.wsgi_public_script }}
|
|
{% endif -%}
|
|
WSGIScriptAlias / {{ wsgi_config.wsgi_public_script }}
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%{cu}t %M"
|
|
</IfVersion>
|
|
ErrorLog {{ wsgi_config.error_log }}
|
|
CustomLog {{ wsgi_config.custom_log }} combined
|
|
|
|
<Directory /usr/bin>
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfVersion>
|
|
</Directory>
|
|
</VirtualHost>
|
|
<VirtualHost *:{{ wsgi_nova_metadata.public_port }}>
|
|
WSGIDaemonProcess nova-metadata processes=4 threads=1 user={{ wsgi_nova_metadata.user }} group={{ wsgi_nova_metadata.group }} \
|
|
display-name=%{GROUP}
|
|
WSGIProcessGroup nova-metadata
|
|
WSGIScriptAlias / {{ wsgi_nova_metadata.wsgi_public_script }}
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%{cu}t %M"
|
|
</IfVersion>
|
|
ErrorLog {{ wsgi_nova_metadata.error_log }}
|
|
CustomLog {{ wsgi_nova_metadata.custom_log }} combined
|
|
|
|
<Directory /usr/bin>
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfVersion>
|
|
</Directory>
|
|
</VirtualHost>
|