From 82b6296b41e6d08fb9a5fd399407785df541acd9 Mon Sep 17 00:00:00 2001 From: Romashov-Zima Dmitry Date: Sun, 3 Mar 2024 11:20:57 +0400 Subject: [PATCH] update ci/cd --- Docker/Nginx/templates/nginx.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docker/Nginx/templates/nginx.conf.template b/Docker/Nginx/templates/nginx.conf.template index c48aa2d..6b8c048 100644 --- a/Docker/Nginx/templates/nginx.conf.template +++ b/Docker/Nginx/templates/nginx.conf.template @@ -6,7 +6,7 @@ server { ssl_certificate_key /etc/nginx/certs/key.pem; location ~ ^/(api)/(.*)$ { - proxy_pass http://${BACKEND_HOST}:${BACKEND_PORT}; + proxy_pass http://<%= $BACKEND_HOST %>:<%= $BACKEND_PORT %>; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; proxy_redirect off;