1
0
Fork 1
forked from fedi/mastodon

Vagrantfile: node 6 (#2752)

This commit is contained in:
kawax 2017-05-03 23:59:51 +09:00 committed by Eugen Rochko
parent 8c5ad23b24
commit dd9d57300b

2
Vagrantfile vendored
View file

@ -10,7 +10,7 @@ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.yarnpkg.com/debian/ stable main'
# Add repo for NodeJS
curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
# Add firewall rule to redirect 80 to 3000 and save
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3000