There is "map_with_recv_port" directive (described in
"remap.config.default"). Don't know if it help. You can have a test. :)
On Tue, Aug 7, 2012 at 11:17 AM, 고우찬_Gilbert <gilbert@kakao.com> wrote:
> hi~
>
> I found out !
>
> curl -H "Host:TS_HOST" http://TS_IP:8080/a.jpg <http://ts_ip:8080/a.jpg> ;
> Fail
> curl -H "Host:TS_HOST:8080" http://TS_IP:8080/a.jpg<http://ts_ip:8080/a.jpg>
;
> OK..
>
> TS need Port Number in Host header.
>
>
> Actually, I will plan using nginx ( consistency proxy, Port 80 ) + traffic
> server ( port 8080 ).
>
> I changed nginx.conf. and all process OK~.
>
> nginx.conf
> proxy_set_header Host $host; -> not working
> proxy_set_header Host $host:8080 -> working !!
>
>
> Thanks~
>
>
>
>
>
>
|