sentiment-api / nginx /nginx.conf
Syed Arfan
Add Docker Compose setup with PostgreSQL, Redis, and Nginx; implement caching and database models
66da1e3
raw
history blame
317 Bytes
events {
worker_connections 1024;
}
http {
upstream api {
server sentiment-api:8000;
}
server {
listen 80;
location / {
proxy_pass http://api;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
}