在Ubuntu Desktop 12.04.1上安装了apsis Pound。
我正在转发HTTP请求到一个XServe(雪豹服务器)Apache实例,我的问题是,我在access_log获取本地私有IP地址,几乎所有的日志在后端。
下面的简单configuration片段:
ListenHTTP Address 192.168.1.100 Port 80 ## allow PUT and DELETE also (by default only GET, POST and HEAD)?: xHTTP 1 #Virtual host www.mywebsite.com Service HeadRequire "Host:.*mywebsite.com.*" BackEnd Address 192.168.1.250 Port 80 End End
现在,我应该在Pound中添加一个X-Forwarded-For头文件吗? 我以为庞德自动做了这个。
或者也许,我是否首先对传入的请求执行HeadRemove:X-Forwarded? 这可能是令人困惑的问题。
如果有人能够回到我身边,会喜欢它!
干杯,
詹姆士