add more options to stream proxying
This commit is contained in:
parent
e26ef3022e
commit
08c567f7af
2 changed files with 4 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ nginx_streams_defaults:
|
||||||
includes: []
|
includes: []
|
||||||
proxy_pass: ~
|
proxy_pass: ~
|
||||||
proxy_protocol: "off"
|
proxy_protocol: "off"
|
||||||
|
proxy_connect_timeout: "2s"
|
||||||
|
proxy_next_upstream_tries: 2
|
||||||
|
|
||||||
nginx_forcessl_vhost:
|
nginx_forcessl_vhost:
|
||||||
"https-redirect":
|
"https-redirect":
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ server {
|
||||||
|
|
||||||
proxy_pass {{ stream.proxy_pass }};
|
proxy_pass {{ stream.proxy_pass }};
|
||||||
proxy_protocol {{ stream.proxy_protocol }};
|
proxy_protocol {{ stream.proxy_protocol }};
|
||||||
|
proxy_connect_timeout {{ stream.proxy_connect_timeout }};
|
||||||
|
proxy_next_upstream_tries {{ stream.proxy_next_upstream_tries }};
|
||||||
|
|
||||||
{% for c in stream.custom|default([]) %}
|
{% for c in stream.custom|default([]) %}
|
||||||
{{ c }};
|
{{ c }};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue