Damnit, now I feel stupid…
It wasn’t in the grav configuration, but in the nginx server block.
I simply forgot to put “$request_uri” after “return 301 https://$host” when redirecting from http to https, so of course it would just redirect to the mainpage.
You brought me on the right track here, awesome! Thanks again!