Add web.conf

This commit is contained in:
Kevin Fenzi 2014-06-03 17:49:56 +00:00
parent 5c1717c10f
commit 429487b663
2 changed files with 27 additions and 1 deletions

View file

@ -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

View 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