Former-commit-id: 9a2b045f24158bad6f1ba7ce4a7ba79d17a70bc4
TangShanKaiPing
wanggang 5 years ago
parent 01a3c85e37
commit 904537ad07

Binary file not shown.

@ -44,6 +44,11 @@ namespace WebSPA
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}");
});
app.Use(async (context, next) =>
{
await next.Invoke();
});
}
}
}

@ -32,6 +32,7 @@ http {
server_name localhost;
location / {
#proxy_set_header Host $host:$server_port;
proxy_pass http://localhost:5001/;
if ($http_user_agent ~* "(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino") {
#rewrite ^(.*) http://localhost:5002$1 permanent;

Loading…
Cancel
Save