trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ram Chander <ramqu...@gmail.com>
Subject Re: Multiple sites in ATS
Date Fri, 28 Aug 2015 14:06:51 GMT
Can I know the syntax for  "map_with_recv_port"  ?  Below is the log/error

$ curl http://10.65.71.33/a.html      -> Not Found on Accelerator

log ->   ERR_CONNECT_FAIL 0 000 [28/Aug/2015:19:33:59 +0530] "GET a.html"


This works  fine  -     map  /   http://localhost:8080/

On Fri, Aug 28, 2015 at 7:29 PM, Jason Strongman <
jasonstrongman2016@gmail.com> wrote:

> Can you provide curl and/or log output ?
>
> On Fri, Aug 28, 2015 at 8:34 AM, Ram Chander <ramquick@gmail.com> wrote:
> > Yes it listening on both ports.  I couldnt get  "map_with_recv_port "
> > working correctly.
> >
> > On Fri, Aug 28, 2015 at 7:03 PM, Jason Strongman
> > <jasonstrongman2016@gmail.com> wrote:
> >>
> >> is ATS actually listening on those ports ?
> >>
> >> https://docs.trafficserver.apache.org/records.config
> >> proxy.config.http.server_ports
> >>
> >> On Fri, Aug 28, 2015 at 8:19 AM, Ram Chander <ramquick@gmail.com>
> wrote:
> >> >
> >> > I tried below in remap.config but its not working
> >> >
> >> > map_with_recv_port 80  http://localhost:8080/
> >> >
> >> > map_with_recv_port 9090  http://localhost:8090/
> >> >
> >> >
> >> >
> >> >
> >> > On Fri, Aug 28, 2015 at 5:41 PM, Ram Chander <ramquick@gmail.com>
> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> I want multiple sites to be hosted in ATS similar nignx/apache.
> >> >> For eg,  ATS should listen on two different ports, each port having
> its
> >> >> own  origin server.
> >> >>
> >> >> How can we achieve this ?
> >> >> Any example would be helpful.
> >> >>
> >> >> Thanks.
> >> >>
> >> >> Regards,
> >> >> Ram
> >> >>
> >> >>
> >> >
> >
> >
>

Mime
View raw message