| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 | 
							- worker_processes  1;
 
- events {
 
-     worker_connections  1024;
 
- }
 
- http {
 
-     include       mime.types;
 
-     default_type  application/octet-stream;
 
- 	#获取真实ip
 
-     proxy_set_header Host $host;
 
-     proxy_set_header X-Real-IP $remote_addr;
 
-     proxy_set_header X-Real-Port $remote_port;
 
-     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 
-     client_max_body_size 20m;
 
-     log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
 
-                      '$status $body_bytes_sent "$http_referer" '
 
-                      '"$http_user_agent" "$http_x_forwarded_for"';
 
-     sendfile        on;
 
-     keepalive_timeout  65;
 
- 	map $http_upgrade $connection_upgrade {
 
-     default upgrade;
 
-     '' close;
 
-     }
 
-     server {
 
-         listen	    4090;
 
-         server_name localhost;
 
-         root        /home/intergration-platform/dist;
 
- 		location / {
 
- 		    try_files $uri $uri/ @router;
 
- 		    index  index.html index.htm;
 
- 		}
 
- 		location @router {
 
- 		    rewrite ^.*$ /index.html last;
 
- 		}
 
- 		location ^~ /emr {
 
- 			proxy_pass http://172.16.32.125:8001/emr;
 
- 		}
 
- 		location ^~ /bdp/dataservice/api {
 
- 			proxy_pass http://172.16.32.183:8888/bdp/dataservice/api;
 
- 		}
 
-     }
 
- }
 
 
  |