Merge pull request 'added proxy_pass' (#150) from infra/docker-compose-fix into main
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #150
This commit is contained in:
cami 2021-07-13 16:14:38 +00:00
commit bab0f6bce5
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@ server {
# to redirect all the requests to index.html, # to redirect all the requests to index.html,
# useful when you are using react-router # useful when you are using react-router
try_files $uri /index.html; try_files $uri /index.html;
proxy_pass http://localhost:5000
} }
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /50x.html {

View file

@ -1 +1,2 @@
podman-compose down podman-compose down
podman-compose -f docker-compose.prod.yml down