In nginx conf folder create wordpress.conf and Paste below code:
location / {
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
My nginx config file locaiton: data/server/nginx/conf. below root line,add ( or direct paste above code below root line):
include wordpress.conf;
And restart nginx it will effective.
service nginx restart