1
0
Fork 0

Part 2 exercises

This commit is contained in:
Vili Sinervä 2023-03-15 18:22:26 +02:00
parent 108f52dbd5
commit ad09df6e2b
16 changed files with 266 additions and 0 deletions

View file

@ -0,0 +1,17 @@
events { worker_connections 1024; }
http {
server {
listen 80;
location / {
proxy_pass http://front:5000;
}
# configure here where requests to http://localhost/api/...
# are forwarded
location /api/ {
proxy_set_header Host $host;
proxy_pass http://back:8080/;
}
}
}