Created
November 1, 2015 11:33
-
-
Save wan2land/54b068a4b9cead321225 to your computer and use it in GitHub Desktop.
Nginx laravel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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