1. 首页
  2. 移动开发
  3. 其他
  4. docker traefik:docker compose.yml准备与reserve proxy Traefik 2和自动HTTPS一起使用 源码

docker traefik:docker compose.yml准备与reserve proxy Traefik 2和自动HTTPS一起使用 源码

上传者: 2021-04-03 09:04:18上传 ZIP文件 18.94KB 热度 14次
入门 确保已安装Docker和docker-compose并设置了DNS记录 git clone https://github.com/raph6/docker-traefik.git cd compose-traefik-server # ## # Setup Traefik # ## # create acme.json touch traefik/traefik/acme/acme.json chmod 600 traefik/traefik/acme/acme.json # create your admin user file htpasswd -B -C 12 -c traefik/basicAuth/.admin * your-username * htpasswd可以在软件包apache2-utils sudo apt-get install apache2-util
用户评论