server {
listen 6080;
server_name local.boheadmin;
location / {
proxy_pass http://127.0.0.1:8087;
}
location /admin {
proxy_pass http://127.0.0.1:8103/admin;
}
location /upload {
alias C:/workspace/upload/;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}