@nicd .well-known/nodeinfo returns 404 for me too. Also the webfinger endpoint. For comparison, mastodon.social responds to these with 200 + the associated JSON.
I didn't notice any ActivityPub .well-known endpoints in the config @rolle linked, only for the certbot challenge. I think others would fall under the default "location /" block.
@nicd You're checking the wrong URL there, #Pachli starts at the /.well-known/nodeinfo endpoint and reads that to get the URL for the actual nodeinfo file.
Pachli uses this information to figure out what type and version of server it's talking to, in order to enable/disable functionality.
Yeah, it appeared that my location blocks were wrong in nginx conf, perhaps happened during yesterday's change when I updated the SSL certs for redirecting domains (.well-known location block had a mistake).
Roni Laukkarinen
in reply to Harald Hannelius :verified: • • •Roni Laukkarinen
in reply to Roni Laukkarinen • • •Roni Laukkarinen
in reply to Roni Laukkarinen • • •Nicd
in reply to Roni Laukkarinen • • •Routes
docs.joinmastodon.orgRoni Laukkarinen
in reply to Nicd • • •@nicd I have default allow alls for .well-known just like here https://github.com/mastodon/mastodon/blob/main/dist/nginx.conf
Is something else needed?
I really think this is a client issue as API works fine. https://mementomori.social/nodeinfo/2.0
@harald
mastodon/dist/nginx.conf at main · mastodon/mastodon
GitHubJarno
in reply to Roni Laukkarinen • • •@nicd .well-known/nodeinfo returns 404 for me too. Also the webfinger endpoint. For comparison, mastodon.social responds to these with 200 + the associated JSON.
I didn't notice any ActivityPub .well-known endpoints in the config @rolle linked, only for the certbot challenge. I think others would fall under the default "location /" block.
Perhaps add blocks for the endpoints listed here: https://docs.joinmastodon.org/dev/routes/#well-known to NGINX config? Something like
location /.well-known/(nodeinfo|webfinger|...) {
proxy_pass http://backend$request_uri;
}
Routes
docs.joinmastodon.orgRoni Laukkarinen reshared this.
Roni Laukkarinen
in reply to Jarno • • •@oranki
It is really strange these nginx blocks are not in the official docs. Why?
It doesn't work with that simple location block example you have. Any idea on what to add in the location block?
Does @renchap have any information about this?
@nicd @harald
#MastoAdmin
Jarno
in reply to Roni Laukkarinen • • •@renchap
I missed the end of the line
try_files $uri (at)proxy
So that extra location block shouldn't be necessary, sorry about that. Maybe a regression in Mastodon, since MementoMori runs bleeding edge versions?
Roni Laukkarinen
in reply to Roni Laukkarinen • • •@oranki @renchap @nicd
Hmm okay, wrong alarm, I had a mistake in one of the location blocks.
Seems to work now with the default nginx conf. No extra location blocks needed.
https://mementomori.social/.well-known/nodeinfo
Jarno
in reply to Roni Laukkarinen • • •@renchap @nicd Yup, it's working now 👍
#InstantResponse 😁
Pachli
in reply to Roni Laukkarinen • • •@nicd You're checking the wrong URL there, #Pachli starts at the /.well-known/nodeinfo endpoint and reads that to get the URL for the actual nodeinfo file.
Pachli uses this information to figure out what type and version of server it's talking to, in order to enable/disable functionality.
Roni Laukkarinen
in reply to Pachli • • •@pachli
Yeah, it appeared that my location blocks were wrong in nginx conf, perhaps happened during yesterday's change when I updated the SSL certs for redirecting domains (.well-known location block had a mistake).
It works again here too: https://mementomori.social/.well-known/nodeinfo
@nicd @harald
Harald Hannelius :verified:
in reply to Roni Laukkarinen • • •Harald Hannelius :verified:
in reply to Roni Laukkarinen • • •