weaviate-test2 / nginx.conf
wjm55
Refactor Dockerfile to integrate supervisord for managing Weaviate and Nginx services, replace start.sh with supervisord configuration, and enhance Nginx settings for improved proxy handling. Remove obsolete start.sh script.
72f5836
raw
history blame
527 Bytes
events {
worker_connections 1024;
}
http {
server {
listen 7860;
# HTTP API proxy
location / {
proxy_pass http://weaviate:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}
stream {
# gRPC proxy
server {
listen 7861;
proxy_pass weaviate:50051;
}
}