Create nginx-tai.conf

A sample nginx configuration file for reverse-proxying to a the _four_ tai servers started by the systemd `target` file
pull/3/head
DocArmoryTech 2020-11-03 12:57:19 +00:00 committed by GitHub
parent bff0996948
commit 93b1b6ddd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

14
debian/nginx-tai.conf vendored Normal file
View File

@ -0,0 +1,14 @@
upstream backends {
server 127.0.0.1:8000;
server 127.0.0.1:8001;
server 127.0.0.1:8002;
server 127.0.0.1:8003;
}
server {
listen 80;
location / {
proxy_pass http://frontends;
}
}