Skip to content

Instantly share code, notes, and snippets.

@wan2land
Created November 1, 2015 11:33
Show Gist options
  • Save wan2land/54b068a4b9cead321225 to your computer and use it in GitHub Desktop.
Save wan2land/54b068a4b9cead321225 to your computer and use it in GitHub Desktop.
Nginx laravel
server {
listen 8080;
server_name laravel.dev;
root /var/www;
access_log /usr/local/etc/nginx/logs/$host.access.log;
location / {
include /usr/local/etc/nginx/conf.d/php-fpm;
try_files $uri $uri/ /index.php?$query_string;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment