Change conf upstream to 'backend'

This commit is contained in:
Fred Boniface 2023-02-12 22:16:17 +00:00
parent a19c374ac2
commit 463ce3bb23

View File

@ -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;