Skip to main content

in reply to Roni Laukkarinen

I recently added a cert and rewrite for www.mementomori.social but that should not affect anything. You should send feedback for that app developer.
in reply to Roni Laukkarinen

Looks like this should be mapped by Mastodon but it's returning 404 on mementomori.social: https://docs.joinmastodon.org/dev/routes/#nodeinfo
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

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;
}

Roni Laukkarinen reshared this.

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

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?

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

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.

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