mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-24 05:56:26 +02:00
notes and config
This commit is contained in:
parent
08d8329d3d
commit
55ff3a28df
4 changed files with 28 additions and 1 deletions
20
var/piston.nginx
Normal file
20
var/piston.nginx
Normal file
|
@ -0,0 +1,20 @@
|
|||
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 {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
proxy_pass http://piston;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue