hello, i try to add this code to NGINX configuration but site error.
`location @addslash {
return 301 $uri/;
}
location ~ [^.\?]*[^/]$ {
try_files $uri @addslash;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location /admin {
try_files $uri $uri/ /admin/index.php?$query_string;
}`
where to put it on the right pleace?