I am using nginx+php-fpm so htaccess does not work on my server. But I checked the nginx file and everything is fine there.
I’ll check the database for the URL and see if its https or http in the database maybe that will work.
There is no HTTPS plugin other cloudflare flexible ssl and cloudflare. I disabled both and now I do not have access to wp-admin.
Already tried changing the URL from wp-config.php but no avail.