OK, Day 4 of trying to install @pixelfed
I now have Nginx working again, and I can get the login screen to display, but when I try to login or register I get…a 404. Anyone have any suggestions for debugging?
I’m using a self-signed SSL certificate for now, so maybe that has something to do with it? But I don’t think so. Permissions issues maybe? Some sort of routing issue? Anyone know where I could even find some debug logging (nothing in the Nginx error logs that I can see)?
I would start with making sure your dns setup is good. Try dig or drill.
@SpaceLifeForm Ahhh good point. I am using a custom domain (which I did put into the Pixelfed env file) but it does make sense that something might be off there.
@buzz Check if your Nginx file is correctly set up:
https://docs.pixelfed.org/running-pixelfed/installation/#nginx
Especially to see if you have something like this:
location / {
try_files $uri $uri/ /index.php?$query_string;
}
@vincent Ugh, missed that bit. And it seems to have solved the 404 issue, so thanks! Now I'm onto a different issue--but hey, that's progress!
@vincent Pretty sure this one *is* about http/https though https://github.com/pixelfed/support/issues/106
@buzz Hmm, weird. I'd try removing any cookies or locally cached data from you actual browser first, then just reload the page – or try from a private window.
Reading through that issue, perhaps try and set "SESSION_DRIVER=cookie" in your env file and running the mentioned artisan commands.
@vincent I just tried the session: cookie thing and it wasn’t working but then I tried from my phone and…boom!
Thanks so much for your help!