Nginx try_file line


#1

looks like this:

location / {
try_files $uri $uri/ /index.php?$args;
}

can become this:

location / {
try_files $uri $uri/ /index.php;
}

Havn’t tried it yet, doubt it performs better, but wanted to hear your thoughts… re: http://docs.ngx.cc/en/latest/topics/tutorials/config_pitfalls.html#front-controller-pattern-web-apps


#2

Hi @datagroove

I personally think this relates to a feature for ease of use, and don’t think there’s a performance difference.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#3