摘要: 在记录日志的的时候,获取用户的信息,比如用户的ip,浏览器等等信息是十分重要的。 但是在使用nginx反向代理的时候,可能经过转发无法获取到用户的真实的ip, 在此情况下需要配置nginx,让其在转发的时候在header 带上用户的真实的ip。 举个例子: 详细查看: http://blog.csd 阅读全文
posted @ 2017-02-03 15:32 nele 阅读(747) 评论(0) 推荐(0)
摘要: There are several reasons why it makes sense to build super-lightweight HTTP services (or, despite all the baggage the word brings, “microservices”). 阅读全文
posted @ 2017-02-03 10:55 nele 阅读(544) 评论(0) 推荐(0)
摘要: ASP.NET Core MVC now provides a true "one asp.net" framework that can be used for building both APIs and websites. But what if you only want to build 阅读全文
posted @ 2017-02-03 10:51 nele 阅读(203) 评论(0) 推荐(0)
摘要: Recently I built plug-ins support to my TemperatureStation IoT solution web site. The code for .NET Core is different from what we have seen on full . 阅读全文
posted @ 2017-02-03 10:33 nele 阅读(300) 评论(0) 推荐(0)