← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~andersson123/autopkgtest-cloud:add-ssl-verify-none-for-haproxy-server into autopkgtest-cloud:master

 

Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:add-ssl-verify-none-for-haproxy-server into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/455515
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:add-ssl-verify-none-for-haproxy-server into autopkgtest-cloud:master.
diff --git a/mojo/service-bundle b/mojo/service-bundle
index 030f6f3..39e23a0 100644
--- a/mojo/service-bundle
+++ b/mojo/service-bundle
@@ -219,9 +219,9 @@ applications:
                       - "redirect scheme https code 301 if ! { ssl_fc }"
                 - service_name: results_reverse_proxy
                   service_options:
-                      - server swift {{ storage_host_internal }}
+                      - server swift {{ storage_host_internal }} ssl verify none
                       - reqirep  ^(GET|POST|HEAD)\ /results/(.*)     \1\ {{ storage_path_internal }}/\2
-                      - rspirep ^Location:\ (http|https)://{{ storage_host_internal }}{{ storage_path_internal }}\/(.*)   Location:\ \1://{{ hostname }}/results/\2
+                      - rspirep ^Location:\ https://{{ storage_host_internal }}{{ storage_path_internal }}\/(.*)   Location:\ \1://{{ hostname }}/results/\2
             ssl_cert: DEFAULT
             ssl_key:
 {%- elif stage_name == "devel" %}

References