From 957013fd91b0a89443819e5aafb85bfc6e89df77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Thu, 17 Oct 2024 12:14:00 +0200 Subject: [PATCH] nginx: Update upstream names --- nginx/nginx.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 4b034021c..c0b5cd589 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -113,7 +113,7 @@ http { rewrite ^/en/(.*)$ https://flathub.org/$1; location / { - proxy_pass http://frontend-v2:3000/; + proxy_pass http://frontend:3000/; } location /api/v1/ { @@ -121,26 +121,26 @@ http { proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; - proxy_pass http://backend-v2:8000/compat/; + proxy_pass http://backend:8000/compat/; } location /api/v2/ { proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; - proxy_pass http://backend-v2:8000/; + proxy_pass http://backend:8000/; } location = /api/v1/apps/collection/new/feed { proxy_cache cache; proxy_cache_valid 200 1h; - proxy_pass http://backend-v2:8000/feed/new; + proxy_pass http://backend:8000/feed/new; } location = /api/v1/apps/collection/recently-updated/feed { proxy_cache cache; proxy_cache_valid 200 1h; - proxy_pass http://backend-v2:8000/feed/recently-updated; + proxy_pass http://backend:8000/feed/recently-updated; } rewrite ^/stats$ /stats/;