0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-15 03:59:46 +00:00
libsql/docker-compose/nginx.conf
2023-10-17 17:41:26 +02:00

30 lines
368 B
Nginx Configuration File

user nginx;
events {
worker_connections 1000;
}
stream {
upstream reader {
server reader:5000;
}
server {
listen 6001;
proxy_pass reader;
}
}
http {
upstream reader {
server reader:8080;
}
server {
listen 8080;
location / {
proxy_pass http://reader;
}
}
}