Simple HTTP Listener example

Link

Simple HTTP Listener example

I’ve been having problems with service stack only listening on one port. ¬†Our servicestack has been moved to https but our network load balancer would rather hit an http port, therefore not attracting any SSL overhead. ¬†Servicestack only supports one endpoint, therefore I’ve added a simple HTTP Listener to respond to http://host/ping otherwise redirect to the https service.