extstore.conf 523 Bytes
server {
    listen      80;
    server_name extstore.yohobuy.com extstore.test.yohobuy.com;
    #charset koi8-r;
    access_log  /Data/logs/nginx/access_extstore.yohobuy.com.log  fenxi;

    location / {
        proxy_redirect off;
        proxy_pass  http://extstore/extendstore/;
        proxy_set_header   Host   "extstore.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";
    }
}