#vi /usr/local/nginx/conf/nginx.conf
root /home/wwwroot;
下面加上include discuzx.conf;
再/usr/local/nginx/sbin/nginx -s reload
转载于:https://blog.51cto.com/songlisha/1082480
#vi /usr/local/nginx/conf/nginx.conf
转载于:https://blog.51cto.com/songlisha/1082480