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
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #150
This commit is contained in:
commit
bab0f6bce5
2 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
1
stop.sh
1
stop.sh
|
@ -1 +1,2 @@
|
||||||
podman-compose down
|
podman-compose down
|
||||||
|
podman-compose -f docker-compose.prod.yml down
|
||||||
|
|
Loading…
Reference in a new issue