Skip to content

Commit 6328ed4

Browse files
authored
Update nginx.conf.template to use UPSTREAM_SERVER
Removed hardcoded proxy_pass to 'owlery' in two locations.
1 parent 1456d9f commit 6328ed4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nginx.conf.template

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ http {
4646
set $backend "${UPSTREAM_SERVER}";
4747
proxy_pass http://$backend$request_uri;
4848
proxy_ignore_client_abort on;
49-
proxy_pass http://owlery$request_uri;
5049
proxy_http_version 1.1;
5150
proxy_set_header Connection "";
5251
proxy_connect_timeout 1h;
@@ -79,7 +78,6 @@ http {
7978
set $backend "${UPSTREAM_SERVER}";
8079
proxy_pass http://$backend$request_uri;
8180
proxy_ignore_client_abort on;
82-
proxy_pass http://owlery$request_uri;
8381
proxy_http_version 1.1;
8482
proxy_set_header Connection "";
8583
proxy_connect_timeout 1h;

0 commit comments

Comments
 (0)