wordpress admin panel loop on nginx

Found solution for my issue, by adding this line to my conf file:

try_files $uri $uri/ /index.php;