1
0
Fork 0
This repository has been archived on 2025-01-15. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
devops-with-docker/Part2/Exercise08/nginx.conf
2023-03-15 18:22:26 +02:00

17 lines
293 B
Nginx Configuration File

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/;
}
}
}