This replicates the behaviour of location.config and makes the letsencrypt plugin usable again for Dockerfile deployments