notes and config

This commit is contained in:
Brian Seymour 2018-10-07 18:28:33 -05:00
parent 08d8329d3d
commit 55ff3a28df
4 changed files with 28 additions and 1 deletions

View File

@ -1 +0,0 @@
console.log('hi')

0
var/multidock Normal file → Executable file
View File

8
var/notes.txt Normal file
View File

@ -0,0 +1,8 @@
create vm
git piston
install dock and piston units
systemctl enable dock@{1..10}.service
systemctl start dock@{1..10}.service
systemctl enable piston@{1..10}.service
systemctl start piston@{1..10}.service
install nginx config

20
var/piston.nginx Normal file
View 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;
}
}