由于业务需要需要将访问xxx.com的的请求转发至http://aa.bababa.com/opdtor/api;
配置名细如下:
server { listen 8008; server_name xxxx.com; location / { proxy_pass http://aa.bababa.com/opdtor/api; } }