From 463ce3bb2383189a6f5f8edab2f897717683f1c8 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sun, 12 Feb 2023 22:16:17 +0000 Subject: [PATCH] Change conf upstream to 'backend' --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6adc241..033ed3f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -40,7 +40,7 @@ http { } location /api/ { - proxy_pass http://localhost:8460; + proxy_pass http://backend:8460; proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_ignore_headers Cache-Control; proxy_cache_valid 200 2m; # Evaluate whether 2m or 1m is more appropriate @@ -49,7 +49,7 @@ http { } location /api/v1/list/ { - proxy_pass http://localhost:8460; + proxy_pass http://backend:8460; proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_ignore_headers Cache-Control; proxy_cache_valid 200 10080m;