right-tree/nginx.conf
2021-11-25 20:00:02 +00:00

20 lines
325 B
Nginx Configuration File

http {
server {
listen 80;
include /etc/nginx/mime.types;
proxy_set_header Host $http_host;
location / {
proxy_pass http://frontend:3000;
}
location ~* ^/(api|admin) {
proxy_pass http://backend:8000;
}
}
}
events {
# configuration of connection processing
}