Skip to content

Commit 2e75d3c

Browse files
authored
NGX-731: move upstream config to separate conf file (#35)
* NGX-731: move upstream config to separate conf file * NGX-731: move upstream config to separate conf file --------- Co-authored-by: Sean <[email protected]>
1 parent 5264e20 commit 2e75d3c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# {{ template_destpath }}
2+
# {{ ansible_managed }}
3+
4+
5+
upstream http_backend {
6+
{% if use_letsencrypt is defined and use_letsencrypt|bool %}
7+
server 127.0.0.1:8443;
8+
{%- else %}
9+
server 127.0.0.1:8080;
10+
{%- endif %}
11+
keepalive 2;
12+
}

0 commit comments

Comments
 (0)