piston/var/piston.nginx

22 lines
406 B
Plaintext
Raw Normal View History

2018-10-08 01:28:33 +02:00
upstream piston {
server 127.0.0.1:2001;
server 127.0.0.1:2002;
server 127.0.0.1:2003;
server 127.0.0.1:2004;
server 127.0.0.1:2005;
server 127.0.0.1:2006;
server 127.0.0.1:2007;
server 127.0.0.1:2008;
server 127.0.0.1:2009;
server 127.0.0.1:2010;
}
server {
2018-10-08 22:53:03 +02:00
listen 1337;
2018-10-08 01:28:33 +02:00
location / {
2018-10-08 22:53:03 +02:00
proxy_buffering off;
2018-10-08 01:28:33 +02:00
proxy_pass http://piston;
}
}