aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-20 00:30:57 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-20 00:30:57 +0200
commitf9757d5d2f051c76cf9dcc3aa7b0875fb3bd13e4 (patch)
tree8a4c0b013459e2247bbc942c822968ba5e4e904b
parentfixes (diff)
downloadconcourse-f9757d5d2f051c76cf9dcc3aa7b0875fb3bd13e4.tar.gz
concourse-f9757d5d2f051c76cf9dcc3aa7b0875fb3bd13e4.tar.xz
fixes
-rw-r--r--manifests/proxy/nginx.pp8
1 files changed, 4 insertions, 4 deletions
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',