Add web.conf
This commit is contained in:
parent
5c1717c10f
commit
429487b663
2 changed files with 27 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
notify: restart httpd
|
||||
|
||||
- name: kojiweb config
|
||||
template: src=hub.conf.j2 dest=/etc/koji-hub/hub.conf owner=apache group=apache mode=600
|
||||
template: src=web.conf.j2 dest=/etc/kojiweb/web.conf owner=apache group=apache mode=600
|
||||
tags:
|
||||
- config
|
||||
notify: restart httpd
|
||||
|
|
26
roles/koji_hub/templates/web.conf.j2
Normal file
26
roles/koji_hub/templates/web.conf.j2
Normal file
|
@ -0,0 +1,26 @@
|
|||
[web]
|
||||
SiteName = koji
|
||||
#KojiTheme = mytheme
|
||||
|
||||
# Key urls
|
||||
{% if env == 'staging' %}
|
||||
KojiHubURL = http://koji.stg.fedoraproject.org/kojihub
|
||||
KojiFilesURL = https://kojipkgs.stg.fedoraproject.org/
|
||||
{% else %}
|
||||
KojiHubURL = http://koji.fedoraproject.org/kojihub
|
||||
KojiFilesURL = https://kojipkgs.fedoraproject.org/
|
||||
{% endif %}
|
||||
|
||||
# SSL authentication options
|
||||
WebCert = /etc/pki/tls/private/kojiweb_cert_key.pem
|
||||
ClientCA = /etc/pki/tls/certs/upload_cacert.pem
|
||||
KojiHubCA = /etc/pki/tls/certs/extras_cacert.pem
|
||||
|
||||
|
||||
LoginTimeout = 72
|
||||
|
||||
# This must be changed and uncommented before deployment
|
||||
Secret = {{ kojiSecret }}
|
||||
|
||||
LibPath = /usr/share/koji-web/lib
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue