-
Notifications
You must be signed in to change notification settings - Fork 3
Nginx配置
Yang Lin edited this page Oct 18, 2016
·
1 revision
location ~ ^/static/(.*)$ {
alias x:/bell/bell-tm-static/dist/$1;
}
location ~ /uaa/ {
proxy_pass http://localhost:9999;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forworded-For $proxy_add_x_forwarded_for;
}
location / {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forworded-For $proxy_add_x_forwarded_for;
}