Update nginx config for webfinger/fediverse

This commit is contained in:
Matt Isenhower 2022-12-11 15:06:58 -08:00
parent b559813e56
commit e7983876c8

View File

@ -24,4 +24,14 @@ server {
location ~ /nso/f/(.*) {
return 302 https://s.nintendo.com/av5ja-lp1/znca/game/4834290508791808?p=/fest_record/$1;
}
# Webfinger
location ~ /.well-known/(host-meta|webfinger|nodeinfo) {
return 302 https://fedi.splatoon3.ink$request_uri;
}
# Fediverse
location = /@splatoon3ink {
return 302 https://fedi.splatoon3.ink/splatoon3ink;
}
}