search.conf 575 Bytes
## review controller 
server {

    # only allow local
    include ./local.access.conf;

    listen       80;
    server_name  search.yohoops.org;
    access_log  /Data/logs/nginx/search_access.log  fenxi;
    error_log   /Data/logs/nginx/search_error.log;
   
 
    location / {
        proxy_redirect off;
        proxy_pass  http://search;
        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";
    }

}