add lists.fedorahosted.org into the mix

This commit is contained in:
Kevin Fenzi 2016-05-18 20:05:24 +00:00
parent 8d259cedd0
commit 3414da9d17
3 changed files with 17 additions and 15 deletions

View file

@ -51,20 +51,6 @@
remotepath: /nagios-external
proxyurl: http://noc02
# - role: httpd/reverseproxy
# website: admin.fedoraproject.org
# destname: mailman
# localpath: /mailman
# remotepath: /mailman
# proxyurl: http://collab03.fedoraproject.org
- role: httpd/reverseproxy
website: admin.fedoraproject.org
destname: mailman-icons
localpath: /icons
remotepath: /icons
proxyurl: http://collab03.fedoraproject.org
- role: httpd/reverseproxy
website: lists.fedoraproject.org
destname: mailman3
@ -73,6 +59,14 @@
header_scheme: true
proxyurl: "{{ varnish_url }}"
- role: httpd/reverseproxy
website: lists.fedorahosted.org
destname: mailman3
localpath: /
remotepath: /
header_scheme: true
proxyurl: "{{ varnish_url }}"
# The place for the raw originals
- role: httpd/reverseproxy
website: meetbot-raw.fedoraproject.org

View file

@ -525,6 +525,14 @@
SSLCertificateChainFile: wildcard-2014.stg.fedoraproject.org.intermediate.cert
cert_name: "{{wildcard_cert_name}}"
- role: httpd/website
name: lists.fedorahosted.org
server_aliases: [lists.stg.fedorahosted.org]
sslonly: true
# Set this explicitly to stg here.. as per the original puppet config.
SSLCertificateChainFile: wildcard-2014.fedorahosted.org.intermediate.cert
cert_name: wildcard-2014.fedorahosted.org
- role: httpd/website
name: id.fedoraproject.org
server_aliases:

View file

@ -286,7 +286,7 @@ sub vcl_recv {
}
}
}
if (req.http.X-Forwarded-Server ~ "^lists.fedoraproject.org" || req.http.X-Forwarded-Server ~ "^lists.stg.fedoraproject.org") {
if (req.http.X-Forwarded-Server ~ "^lists.fedoraproject.org" || req.http.X-Forwarded-Server ~ "^lists.stg.fedoraproject.org" || req.http.X-Forwarded-Server ~ "^lists.fedorahosted.org" || req.http.X-Forwarded-Server ~ "^lists.stg.fedorahosted.org" ) {
set req.backend_hint = mailman;
}
if (req.http.X-Forwarded-Server ~ "^apps.fedoraproject.org" || req.http.X-Forwarded-Server ~ "^apps.stg.fedoraproject.org") {