51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

docker-compose 部署nginx配置ssl

docker-compose 部署nginx配置ssl_docker compose nginx ssl-CSDN博客

version: "3"
services:
  nginx:
    image: nginx:1.25.0
    restart: always
    container_name: nginx
    environment:
      - TZ=Asia/Shanghai
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./nginx/conf.d:/etc/nginx/conf.d
      - ./nginx/logs:/var/log/nginx
      - ./site:/usr/share/nginx/html
      - ./nginx/letsencrypt:/etc/letsencrypt
赞(0)
未经允许不得转载:工具盒子 » docker-compose 部署nginx配置ssl