docker安装配置nginx部署react项目
1.下载镜像docker pull nginx2.创建挂载目录mkdir -p /data/nginx/{conf,conf.d,html,logs}3.创建配置文件在目录/data/nginx/conf下创建nginx.confuser nginx;worker_processes 1;error_log /var/log/nginx/error.log warn;pid /var/run/nginx.pid;events { worker_conn
原创
2022-02-22 14:48:58 ·
1648 阅读 ·
0 评论