ols.fedoraproject.org: add site on proxies to serve local content.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-04-08 22:33:11 +00:00
parent 321c458292
commit 61fc38736e
3 changed files with 29 additions and 0 deletions

View file

@ -1004,3 +1004,14 @@
tags:
- pkgs.fedoraproject.org
when: env == "staging" and "phx2" in inventory_hostname
#
# We setup this site for old ols papers
# This used to be on fedorapeople.org, but a new 'ols' user showed up, so
# that no longer works.
#
- role: httpd/website
site_name: ols.fedoraproject.org
sslonly: true
cert_name: "{{wildcard_cert_name}}"

View file

@ -0,0 +1,7 @@
DocumentRoot /srv/web/ols.fedoraproject.org
<Directory /srv/web/ols.fedoraproject.org>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

View file

@ -0,0 +1,11 @@
- name: Copy some config files for {{website}}
copy: >
src={{item}} dest=/etc/httpd/conf.d/{{website}}/{{item}}
owner=root group=root mode=0644
with_items:
- ols.conf
notify:
- reload proxyhttpd
tags:
- fedora-web
- fedora-web/ols