trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From =?ks_c_5601-1987?B?sO2/7ML5X0dpbGJlcnQ=?= <gilb...@kakao.com>
Subject When Use Port 8080, I had problem.
Date Mon, 06 Aug 2012 10:04:43 GMT
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 !


Mime
View raw message