docker安装NGINX
目录、配置自行创建调整
如下
docker run --name nignx-80 -p 80:80 --restart=always -d --privileged=true -v /home/nginx/html:/etc/nginx/html -v /home/nginx/conf/nginx.conf:/etc/nginx/nginx.conf -v /home/load:/home/load -v /home/nginx/logs:/var/log/nginx -d nginx:1.20
end