Hi~

I should use Port 8080 instead of 80.
So,I changed Port 80 -> 8080.

But I have problem.

records.config
CONFIG proxy.config.http.server_port INT 8080
CONFIG proxy.config.http.server_port_attr STRING X


remap,config
map  http://TS_URL:8080  http://ORIGIN_URL


I tested request with curl..

- curl  http://TS_URL:8080/a.jpg  ; OK
- Log  
<cquuc> ; http://TS_URL:8080  - normal
%<{Host}cqh> ; TS_HOST  - normal ( ex) - abc.def.com)

- curl  -H "Host:TS_HOT" http://TS_IP:8080/a.jpg  ; Fail
- Log  
<cquuc> ; http:///a.jpg  - abnormal 
%<{Host}cqh> ; TS_HOST  - normal


After Chage Port 8080 -> 80
- curl  http://TS_URL/a.jpg  ; OK
- Log  
<cquuc> ; http://TS_URL  - normal
%<{Host}cqh> ; TS_HOST  - normal ( ex) - abc.def.com)

- curl  -H "Host:TS_HOST" http://TS_IP/a.jpg  ; OK
 -Log  
<cquuc> ; http://TS_URL  - normal
%<{Host}cqh> ; TS_HOST  - normal ( ex) - abc.def.com)



What't the meter???

Thanks !


Reply via email to