Skip to content

Instantly share code, notes, and snippets.

@rotvulpix
Created Jul 26, 2015
Embed
What would you like to do?
sample-nginx-laravel-config
server {
listen 80;
server_name localhost;
root /Users/rotvulpix/Source/Lab/front;
access_log /var/nginx/logs/front.dev.log main;
error_log /var/nginx/logs/front.dev.error.log;
location / {
try_files $uri $uri/ /index.php?$query_string;
include /usr/local/etc/nginx/conf.d/php-fpm;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment