Skip to content

Instantly share code, notes, and snippets.

@timothyhahn
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothyhahn/9029499 to your computer and use it in GitHub Desktop.
Save timothyhahn/9029499 to your computer and use it in GitHub Desktop.
$ sudo su
# apt-get update
# apt-get install python-software-properties
# add-apt-repository ppa:nginx/stable
# apt-get update
# apt-cache show nginx
# ## Find the one with nginx version 1.4.4 and copy and paste it below where $VERSION is
# ## (for example 1.4.4-1~precise)
# apt-get install nginx=$VERSION
# cd /etc/nginx/sites-enabled
# rm default
# wget https://raw2.github.com/ayaigame/ayai/master/provisioning/roles/common/files/conf/ayai.conf
# service nginx restart
# iptables -t nat -A OUTPUT -d 192.168.100.10 -j DNAT --to-destination 127.0.0.1
# exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment