From ee04215382f4abaaf5c3a59ea7e348ed38bcaae4 Mon Sep 17 00:00:00 2001 From: cami Date: Tue, 13 Jul 2021 18:13:46 +0200 Subject: [PATCH] added proxy_pass --- frontend/nginx/nginx.conf | 1 + stop.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/nginx/nginx.conf b/frontend/nginx/nginx.conf index a52c23f..615920f 100644 --- a/frontend/nginx/nginx.conf +++ b/frontend/nginx/nginx.conf @@ -6,6 +6,7 @@ server { # to redirect all the requests to index.html, # useful when you are using react-router try_files $uri /index.html; + proxy_pass http://localhost:5000 } error_page 500 502 503 504 /50x.html; location = /50x.html { diff --git a/stop.sh b/stop.sh index b4290eb..7f2b2e8 100644 --- a/stop.sh +++ b/stop.sh @@ -1 +1,2 @@ podman-compose down +podman-compose -f docker-compose.prod.yml down