nginx配置信息

http{
include mime.types;
default_types application/octet-stream;

client_max_body_size 8M;
client_body_buffer_size 1024k;
fastcgi_intercept_errors on;
sendfile  on;

keepalive_timeout 65;

server {
    listen 8082;
    server_name 29.0.90.27;
    location /vascloud-ui/ {
        try_files $url $url/  /vascloud-ui/index.html;
        root /bankapp/nginx/;
        proxy_http_version 1.1;
        proxy_set_header Connection "";
    }
    
    location /vascloud-ui/vascloud/ {
        proxy_pass http://vas.pab.com.cn:8080/channel/vascloud/;
        proxy_set_header Host $host:$server_port;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded_For $proxy_add_x_forwarded_for;
        proxy_redirect off;
        proxy_http_version 1.1;
        proxy_set_header Connection "";
    }

}

}

你可能感兴趣的:(nginx配置信息)