diff --git a/config/nginx/common/locations.conf b/config/nginx/common/locations.conf index d6495a85..0c5623e1 100644 --- a/config/nginx/common/locations.conf +++ b/config/nginx/common/locations.conf @@ -9,8 +9,9 @@ location = /favicon.ico { } location = /robots.txt { - access_log off; - log_not_found off; + try_files $uri $uri/ /index.php?$args; + access_log off; + log_not_found off; } # Cache static files