diff options
Diffstat (limited to 'manifests/proxy/nginx.pp')
-rw-r--r-- | manifests/proxy/nginx.pp | 8 |
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', |