ols.fedoraproject.org: add site on proxies to serve local content.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
321c458292
commit
61fc38736e
3 changed files with 29 additions and 0 deletions
|
@ -1004,3 +1004,14 @@
|
||||||
tags:
|
tags:
|
||||||
- pkgs.fedoraproject.org
|
- pkgs.fedoraproject.org
|
||||||
when: env == "staging" and "phx2" in inventory_hostname
|
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}}"
|
||||||
|
|
7
roles/fedora-web/ols/files/ols.conf
Normal file
7
roles/fedora-web/ols/files/ols.conf
Normal 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>
|
11
roles/fedora-web/ols/tasks/main.yml
Normal file
11
roles/fedora-web/ols/tasks/main.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue