From 270da4d5dffa1b34557a926d98083975c57ceb0f Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 24 May 2016 21:46:55 +0200 Subject: [PATCH] Issue purges over https --- tools/varnishqueue/varnish_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/varnishqueue/varnish_queue.py b/tools/varnishqueue/varnish_queue.py index 2f6921e4..afbe7679 100755 --- a/tools/varnishqueue/varnish_queue.py +++ b/tools/varnishqueue/varnish_queue.py @@ -17,7 +17,7 @@ from setproctitle import setproctitle def do_purge(consumername, headers): try: - conn = httplib.HTTPConnection('%s.postgresql.org' % consumername) + conn = httplib.HTTPSConnection('%s.postgresql.org' % consumername) conn.request("GET", "/varnish-purge-url", '', headers) resp = conn.getresponse() conn.close()