[adrian@xxxxxxxxxxxxxxxxx: [ansible] Re-enable /mirrormanager without slash at the end]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

		Adrian

----- Forwarded message from Adrian Reber <adrian@xxxxxxxxxxxxxxxxx> -----

Date: Sun, 31 May 2015 09:30:09 +0000 (UTC)
From: Adrian Reber <adrian@xxxxxxxxxxxxxxxxx>
To: sysadmin-members@xxxxxxxxxxxxxxxxx
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@xxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure





[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux