docker nginx ssl

docker run -d
-p 80:80
-p 443:443
-v $(pwd)/conf/conf.d:/etc/nginx/conf.d
-v $(pwd)/cert:/etc/nginx/cert
-v $(pwd)/conf/nginx.conf:/etc/nginx/nginx.conf
-v $(pwd)/logs:/var/log/nginx
-v $(pwd)/html:/usr/share/nginx/html
--restart=always
--name=nginx
--network=www
nginx

posted @ 2019-10-09 14:31  S&L·chuck  阅读(222)  评论(0编辑  收藏  举报