Skip to content

Instantly share code, notes, and snippets.

View fabioluciano's full-sized avatar
🏠
Working from home

Fábio Luciano fabioluciano

🏠
Working from home
View GitHub Profile
@fabioluciano
fabioluciano / gist:3971497
Created October 29, 2012 04:23
My Nginx Multi-Symfony2 configuration
server {
listen 80 default;
server_name 192.168.0.34 localhost;
server_tokens off;
root /home/nginx/$host/web;
index app.php index.php index.html;
access_log /home/nginx/$host/app/logs/access.log;
error_log /var/log/nginx/error.log;
try_files $uri $uri/ @rewrite;