docker run --name nginx -d -p 80:80
-v $PWD/conf/nginx.conf:/etc/nginx/nginx.conf
-v $PWD/static/resources:/home/nginx/static/resources
-v $PWD/html:/etc/nginx/html
-v $PWD/logs:/var/log/nginx
nginx
docker 安装 Nginx
最新推荐文章于 2024-06-08 21:12:29 发布