nginx_0">nginx配置图片服务器 nginx_1">nginx配置 nginx配置 vim /opt/nginx/conf/nginx.conf location / { #root html; root /data/web; index index.html index.htm; } nginx 安装 wget http://nginx.org/download/nginx-1.20.2.tar.gz ./configure --prefix=/opt/nginx --with-http_ssl_module make make install nginx 启动 /opt/nginx/sbin/nginx -c conf/nginx.conf