Skip to content

Instantly share code, notes, and snippets.

rogerleite / nginx.conf
Created Aug 2, 2012
Configuração Nginx
View nginx.conf
user www-data;
worker_processes 4;
error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
pid logs/;
events {
rogerleite /
Created Mar 21, 2012 — forked from evansd/
postinstall sript from vagrant example box (having it somewhere web-accessible is easiest way to get it on to newly created VMs)
#!/usr/bin/env bash
# Apt-install various things necessary for Ruby, guest additions,
# etc., and remove optional things to trim down the machine.
apt-get -y update
apt-get -y remove apparmor
apt-get -y install linux-headers-$(uname -r) build-essential
apt-get -y install zlib1g zlib1g-dev libxml2 libxml2-dev libxslt-dev libssl-dev openssl libreadline5-dev