nginx.conf 624 字节
Newer Older
1 2 3 4 5 6 7 8 9
    server {
        listen       80;
        server_name  localhost;

        location /oldwebapptest/ {
            alias  /dist/;
            index  index.html index.htm;
        }
		
10
        location /sztrainsys__oldwebapptest {
11 12 13 14 15 16 17 18 19 20 21
			proxy_pass http://gateway.ibizcloud.cn:20086;
			proxy_set_header  Host              $host;
			proxy_set_header  X-Forwarded-For   $proxy_add_x_forwarded_for;
			proxy_set_header  X-Forwarded-Host  $host;
			proxy_set_header  X-Real-IP         $remote_addr;
        }
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
    }