Docker的nginx + letsencrypt同时支持https和http?

我用letsencrypt伴侣设置了dockerized nginx来运行下一个云。 我正在使用这个configuration: https : //github.com/nextcloud/docker/tree/master/.examples/docker-compose/with-nginx-proxy/mariadb/apache

一切工作正常,但我有一个不支持https的遗留网站(http-url被硬编码到应用程序中),我希望有一种方法可以从强制httpsredirect/代理中排除一个域。 任何提示?