码迷,mamicode.com
首页 > 其他好文 > 详细

ECS活动真实IP (前端存在SLB)

时间:2015-04-29 14:55:14      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:

log_format main ‘realip:$http_x_forwarded_for slbip:$remote_addr-$remote_user [$time_local] "$request" ‘ ‘$status $body_bytes_sent "$http_referer" ‘ ‘"$http_user_agent" "$http_x_forwarded_for"‘; #log_format main ‘$remote_addr - $remote_user [$time_local] "$request" ‘ # ‘$status $body_bytes_sent "$http_referer" ‘ # ‘"$http_user_agent" "$http_x_forwarded_for"‘;

ECS活动真实IP (前端存在SLB)

标签:

原文地址:http://www.cnblogs.com/jimingsong/p/4465816.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!