简体   繁体   English

django 上 docker - https 与letsencrypt

[英]django on docker - https with letsencrypt

I have implemented django on docker deployment process using below tutorial.我已经使用以下教程在 docker 部署过程中实现了 django。 https://github.com/testdrivenio/django-on-docker https://github.com/testdrivenio/django-on-docker

I'm using ubuntu 18 server, Installed docker and docker-compose.我正在使用 ubuntu 18 服务器,安装了 docker 和 docker-compose。 I'm trying to integrate https with letsencrypt for my website.我正在尝试将 https 与我的网站的letsencrypt集成。 How to integrate the https with letsencrypt using existing docker compose.如何使用现有的 docker 组合将 https 与letsencrypt 集成。

Thanks in advance.提前致谢。

You can use a docker image of nginx web server to integrate https with your existing docker using a simple configuration: You can use a docker image of nginx web server to integrate https with your existing docker using a simple configuration:

Refer: https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71参考: https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM