Unavoidable security & setup warnings with NC 21 update

What do you think would be entries for nginx then? I tried:

rewrite ^/.well-known/webfinger /index.php?service=webfinger last;
rewrite ^/.well-known/nodeinfo /index.php?service=nodeinfo last;

and

location ^~ /.well-known/webfinger {
        return 301 $scheme://$host/index.php/webfinger;
    }
    
location ^~ /.well-known/nodeinfo {
        return 301 $scheme://$host/index.php/nodeinfo;
    }

with no success :frowning: