About a week ago, I was playing with nginx rewrite stuff to rewrite /admin to https.
I now want to undo this, but I cannot for the life of me, remember where I put that rewrite rule.
I've reloaded, restarted, stopped and started nginx. I've rebooted the server. I've restored nginx.conf to the default version.
I have no idea where I put that rule. It's either there, or nginx is just confused, because when I go to [domain]/admin, it redirects to https://[domain]/admin
I might end up purging nginx from the system and installing from scratch.
Is there anywhere else that a rewrite might be put? Any suggestions?