Unable to sign in as admin

Hello I was experiencing a request timed out problem on my erpnext application, I came across a solution where someone suggested to run these codes

bench config http_timeout
bench setup supervisor
bench setup nginx
Restart services (as root)

supervisorctl reload
service nginx reload

In the process of running these commands, I overwrote the supervisor and nginx.conf files. After that log into the dashboard any longer.
Please is there anything I can do to solve this problem? Thank you.

You can reset the admin password by using this command

bench set-admin-password [password]

Make sure you are in the frappe folder before executing the command

I tried resetting the admin password, but I still couldn’t login.