Adjust backend protocol for gerrit and jenkins in nginx
PROD-31867
Change-Id: I256d501f01329bb24da7a708b4b1dcff9ca28834
(cherry picked from commit 826498156a82649c08efaaf9421ea92beb12849a)
diff --git a/nginx/server/proxy/cicd/gerrit.yml b/nginx/server/proxy/cicd/gerrit.yml
index 0baf26c..72d0e12 100644
--- a/nginx/server/proxy/cicd/gerrit.yml
+++ b/nginx/server/proxy/cicd/gerrit.yml
@@ -15,7 +15,7 @@
proxy:
host: ${_param:nginx_proxy_gerrit_server_proxy_host}
port: ${_param:nginx_proxy_gerrit_server_proxy_port}
- protocol: http
+ protocol: https
host:
name: ${_param:nginx_proxy_gerrit_server_site_host}
port: ${_param:nginx_proxy_gerrit_server_site_port}
diff --git a/nginx/server/proxy/cicd/jenkins.yml b/nginx/server/proxy/cicd/jenkins.yml
index bd270f2..b348f26 100644
--- a/nginx/server/proxy/cicd/jenkins.yml
+++ b/nginx/server/proxy/cicd/jenkins.yml
@@ -15,7 +15,7 @@
proxy:
host: ${_param:nginx_proxy_jenkins_server_proxy_host}
port: ${_param:nginx_proxy_jenkins_server_proxy_port}
- protocol: http
+ protocol: https
host:
name: ${_param:nginx_proxy_jenkins_server_site_host}
port: ${_param:nginx_proxy_jenkins_server_site_port}