Unavoidable security & setup warnings with NC 21 update

To be more precise, I have added the following lines to my nginx config file:

    location = /.well-known/webfinger {
            rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
    }

    location = /.well-known/nodeinfo {
            rewrite ^/.well-known/nodeinfo /public.php?service=nodeinfo last;
    }

For the phone region, not enough details is provided to what has to be done, especially in a Docker environment.
For php-imagick I don’t think I can change that using official Docker images.