mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-15 01:39:54 +00:00
30 lines
368 B
Nginx Configuration File
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;
|
|
}
|
|
}
|
|
}
|