nginx配置http和https关于ssl证书的坑
1.检查服务器是否安装nginx,如果未安装,可参考我之前的文章Linux系列~docker部署nginx_一夜白头催人泪-CSDN博客_docker 部署nginx1.新建docker-compose.yml文件version: '3.1'services: nginx: restart: always image: nginx container_name: nginx ports: - 80:80 volumes: - ./conf.d:/etc/nginx/conf.d - ./ngin