Skip to content

Instantly share code, notes, and snippets.

View chriscoderdr's full-sized avatar
💭
Coding is life.

Chris Gomez chriscoderdr

💭
Coding is life.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am cgomezmendez on github.
  • I am chrisgomez (https://keybase.io/chrisgomez) on keybase.
  • I have a public key ASCW8UJGpE-_rBQ4FOw6PWjPdL3oPYqXG2-hT5mnk7Y6vAo

To claim this, I am signing this object:

#!/bin/bash
DOMAIN=$1
mkdir "/var/websites/$1"
cp "/var/websites/dummy/index.html" "/var/websites/$1/index.html"
touch "/etc/nginx/sites-available/$1"
ln -s "/etc/nginx/sites-available/$1" "/etc/nginx/sites-enabled"
cp "/root/server-config.conf" "/etc/nginx/sites-available/$1"
sed -i "s/DOMAIN/$DOMAIN/g" "/etc/nginx/sites-available/$1"
service nginx reload
@chriscoderdr
chriscoderdr / gist:5472274
Created April 27, 2013 07:59
Politica de privacidad
Esta aplicacion no maneja en ningun momento datos sensibles del usuario.