server {
listen 8080;
server_name localhost;
rewrite /ljys/kcf(.*) http://192.168.4.139:8080/wuxi-prescription-web/prescribe/passPrescribe$1 permanent;
location / {
root /data/www/www;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}