docker nginx 命令。

docker run -d -p 80:80 -p 443:443 --name baiqian.site --restart=always -v ~/wwwroot/layx:/usr/share/nginx/html/layx -v ~/wwwroot/baiqian:/usr/share/nginx/html/baiqian -v ~/nginx/conf/nginx.conf:/etc/nginx/nginx.conf -v ~/nginx/logs:/var/log/nginx -v ~/nginx/conf.d:/etc/nginx/conf.d -v ~/nginx/cert:/ssl nginx

posted @ 2019-06-08 18:15  百小僧  阅读(993)  评论(0编辑  收藏  举报