[adrian at fedoraproject.org: [ansible] Re-enable /mirrormanager without slash at the end]

Kevin Fenzi kevin at scrye.com
Mon Jun 1 11:46:40 UTC 2015


On Sun, 31 May 2015 11:32:44 +0200
Adrian Reber <adrian at lisas.de> wrote:

> This change still needs a playbook to be run. If this change is
> correct it would be great if someone could run the playbook. Thanks.

This was picked up yesterday when I was running proxy playbooks. ;) 

Should be set now... 

kevin
--
> 
> 		Adrian
> 
> ----- Forwarded message from Adrian Reber <adrian at fedoraproject.org>
> -----
> 
> Date: Sun, 31 May 2015 09:30:09 +0000 (UTC)
> From: Adrian Reber <adrian at fedoraproject.org>
> To: sysadmin-members at fedoraproject.org
> Subject: [ansible] Re-enable /mirrormanager without slash at the end
> 
> This is the public repository, do not commit sensitive
> or confidential information here.
> X-Git-Refname: refs/heads/master
> X-Git-Oldrev: af9462caabbbbff1cb4736d6ffaec93338c2f7b8
> X-Git-Newrev: 9a90bb869ff7982dc6c05c804d83f7444249fc52
> 
> commit 9a90bb869ff7982dc6c05c804d83f7444249fc52
> Author: Adrian Reber <adrian at lisas.de>
> Date:   Sun May 31 09:27:54 2015 +0000
> 
>     Re-enable /mirrormanager without slash at the end
>     
>     The mirrormanager application and the publiclist re-write used to
> work without a slash at the end. Re-enable /mirrormanager without a
> slash at the end of the URL.
> 
>  roles/varnish/files/proxy.vcl |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> ---
> diff --git a/roles/varnish/files/proxy.vcl
> b/roles/varnish/files/proxy.vcl index ed8333b..788b717 100644
> --- a/roles/varnish/files/proxy.vcl
> +++ b/roles/varnish/files/proxy.vcl
> @@ -181,7 +181,7 @@ sub vcl_recv {
>              set req.url = regsub(req.url, "\?.*", "");
>          }
>      }
> -    if (req.url ~ "^/mirrormanager/") {
> +    if (req.url ~ "^/mirrormanager") {
>          set req.backend_hint = mirrormanager;
>          if (req.url ~ "^/mirrormanager/static/") {
>              unset req.http.cookie;
> 
> ----- End forwarded message -----
> _______________________________________________
> infrastructure mailing list
> infrastructure at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20150601/e7b0dbaa/attachment.sig>


More information about the infrastructure mailing list