try_files $uri $uri/ /index.php?q=$uri&$args;

add in nginx conf location part
Open chat