Skip to content

Instantly share code, notes, and snippets.

@tuckbloor
Created July 19, 2024 14:26
Show Gist options
  • Save tuckbloor/f4f5e8d503280ece783eb1eec0646c16 to your computer and use it in GitHub Desktop.
Save tuckbloor/f4f5e8d503280ece783eb1eec0646c16 to your computer and use it in GitHub Desktop.
nginx server block for laravel
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
do not use
try_files $uri $uri/ /index.php?$query_string; else $request brings back nothing in controllers
https://serverfault.com/questions/231578/nginx-php-fpm-where-are-my-get-params/362924#362924
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment