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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s