api.platform.yohoops.org.conf 561 Bytes
 server {
    listen      80;
    server_name api.platform.yohoops.org;
    #charset koi8-r;
    access_log  /Data/logs/nginx/access_api.platform.yohoops.org.log fenxi;

    location / {
        proxy_redirect off;
        proxy_pass  http://yohobuy-platform;
        #proxy_pass  http://yohobuy-platform-gray;
        proxy_set_header   Host   "admin.portal.yohobuy.com";
        proxy_set_header   X-Real-IP  $remote_addr;
        proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header   Accept-Encoding "gzip";
    }    
 }