The second (and next) page of the search results redirects me to the home page

I'm using this configuration for nginx

Location / {
# Permanent WordPress links
try_files $ uri $ uri / /index.php?q=$uri&$args;
}
Code (marked):

someone help me