Created
April 26, 2017 07:14
-
-
Save xralphack/f0fcc971957d02c8e8339f1a04ccecef to your computer and use it in GitHub Desktop.
nginx conf for 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
# the following directive in your site configuration will direct all requests to the index.php front controller | |
location / { | |
try_files $uri $uri/ /index.php?$query_string; | |
} | |
# use phpfpm to process .php files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment