nginx.conf

#user  nobody;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;


events {
worker_connections 1024;
}


http {
server {
listen 80;
server_name www.mingshine.com;
location /bbs/ {
proxy_pass http://localhost:7808/cabbeen-api/testlock;
index index.html index.htm;
}
location /www/ {
proxy_pass http://localhost:7808/cabbeen-api/redis;
index index.html index.htm;
}
}

}