Skip to content

Instantly share code, notes, and snippets.

View asaelx's full-sized avatar

Asael Jaimes asaelx

  • Monterrey, México
View GitHub Profile
@asaelx
asaelx / Vagrantfile
Created April 17, 2015 15:07
Vagrantfile for ubuntu/trusty32
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty32"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provision "shell", path: "setup.sh"
@asaelx
asaelx / setup.sh
Created April 17, 2015 15:06
Provision for LEMP
#!/usr/bin/env bash
#Config
NAME="app"
USER="asaelx"
MYSQL_PASSWORD="secret"
echo "=====Configuring Virtual Machine..."
echo "=====Getting last updates..."
@asaelx
asaelx / nginx_config
Last active August 29, 2015 14:19
Nginx Config for LEMP
server {
listen 80;
root /vagrant;
index index.php index.html index.htm;
server_name veinte.dev;
location / {
try_files $uri /index.php;