Laravel 5 - NGINX Server Config Issue with URL Query Strings

后端 未结 3 1801
粉色の甜心
粉色の甜心 2021-02-06 18:35

Laravel is not receiving any $_GET variables from the URL query string. The $_GET and Input::all() are empty.

Example:

example.app/ex/

3条回答
  •  迷失自我
    2021-02-06 18:56

    For me it worked only by changing try_files $uri $uri/ /index.php?$query_string; to try_files $uri $uri/ /index.php?$args inside location / block on ubuntu (14.04) nginx

提交回复
热议问题