review.conf 577 Bytes
## review controller 
server {
    listen       80;
    server_name  review.yoho.yohoops.org;
    access_log  /Data/logs/nginx/review_access.log  fenxi;
    error_log   /Data/logs/nginx/review_error.log;
   
    # only allow local
    include ./local.access.conf;

    location / {
        proxy_redirect off;
        proxy_pass  http://review;
        proxy_set_header   Host   $host;
        proxy_set_header   X-Real-IP  $http_x_forwarded_for;
        proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header   Accept-Encoding "gzip";
    }

}