a8cfbe21f7
- Add 22.04 to charmcraft.yaml - Update metadata to include jammy - Remove impish from metadata - Update osci.yaml to include py3.10 default job - Modify tox.ini to remove py35,py36,py37 tox target and add py310 target. - ensure that the openstack-origin is yoga func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/751 Change-Id: Ia285c2d834cd0b9ab97fc944370172631995b83f
98 lines
2.9 KiB
Plaintext
98 lines
2.9 KiB
Plaintext
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
|
|
{% if port -%}
|
|
Listen {{ port }}
|
|
{% endif -%}
|
|
|
|
{% if admin_port -%}
|
|
Listen {{ admin_port }}
|
|
{% endif -%}
|
|
|
|
{% if public_port -%}
|
|
Listen {{ public_port }}
|
|
{% endif -%}
|
|
|
|
{% if port -%}
|
|
<VirtualHost *:{{ port }}>
|
|
WSGIDaemonProcess {{ service_name }} processes={{ processes }} threads={{ threads }} user={{ user }} group={{ group }} \
|
|
display-name=%{GROUP} lang=C.UTF-8 locale=C.UTF-8
|
|
WSGIProcessGroup {{ service_name }}
|
|
WSGIScriptAlias / {{ script }}
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
KeepAliveTimeout 75
|
|
MaxKeepAliveRequests 1000
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%{cu}t %M"
|
|
</IfVersion>
|
|
ErrorLog /var/log/apache2/{{ service_name }}_error.log
|
|
CustomLog /var/log/apache2/{{ service_name }}_access.log combined
|
|
|
|
<Directory /usr/bin>
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfVersion>
|
|
</Directory>
|
|
</VirtualHost>
|
|
{% endif -%}
|
|
|
|
{% if admin_port -%}
|
|
<VirtualHost *:{{ admin_port }}>
|
|
WSGIDaemonProcess {{ service_name }}-admin processes={{ admin_processes }} threads={{ threads }} user={{ user }} group={{ group }} \
|
|
display-name=%{GROUP} lang=C.UTF-8 locale=C.UTF-8
|
|
WSGIProcessGroup {{ service_name }}-admin
|
|
WSGIScriptAlias / {{ admin_script }}
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
KeepAliveTimeout 75
|
|
MaxKeepAliveRequests 1000
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%{cu}t %M"
|
|
</IfVersion>
|
|
ErrorLog /var/log/apache2/{{ service_name }}_error.log
|
|
CustomLog /var/log/apache2/{{ service_name }}_access.log combined
|
|
|
|
<Directory /usr/bin>
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfVersion>
|
|
</Directory>
|
|
</VirtualHost>
|
|
{% endif -%}
|
|
|
|
{% if public_port -%}
|
|
<VirtualHost *:{{ public_port }}>
|
|
WSGIDaemonProcess {{ service_name }}-public processes={{ public_processes }} threads={{ threads }} user={{ user }} group={{ group }} \
|
|
display-name=%{GROUP} lang=C.UTF-8 locale=C.UTF-8
|
|
WSGIProcessGroup {{ service_name }}-public
|
|
WSGIScriptAlias / {{ public_script }}
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
KeepAliveTimeout 75
|
|
MaxKeepAliveRequests 1000
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%{cu}t %M"
|
|
</IfVersion>
|
|
ErrorLog /var/log/apache2/{{ service_name }}_error.log
|
|
CustomLog /var/log/apache2/{{ service_name }}_access.log combined
|
|
|
|
<Directory /usr/bin>
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfVersion>
|
|
</Directory>
|
|
</VirtualHost>
|
|
{% endif -%}
|