From f9757d5d2f051c76cf9dcc3aa7b0875fb3bd13e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 20 Jun 2023 00:30:57 +0200 Subject: fixes --- manifests/proxy/nginx.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manifests') diff --git a/manifests/proxy/nginx.pp b/manifests/proxy/nginx.pp index 3e2d180..eb2aabb 100644 --- a/manifests/proxy/nginx.pp +++ b/manifests/proxy/nginx.pp @@ -1,6 +1,6 @@ # @summary Revproxy for concourse # -# Rev-proxy, which also gathers all web nodes in a cluster, into a +# Rev-proxy, which also gathers all web nodes in a cluster, into a # single web endpoint # # @param server_name @@ -31,13 +31,13 @@ define concourse::proxy::nginx ( } nginx::resource::location { "${server_name} - /": - location => '/', - proxy_pass => "http://${cluster}", + location => '/', + proxy => "http://${cluster}", } nginx::resource::location { "${server_name} - ~ /hijack$": location => '~ /hijack$', - proxy_pass => "http://${cluster}", + proxy => "http://${cluster}", proxy_set_header => [ 'Host $host', 'X-Real-IP $remote_addr', -- cgit v1.2.3