lrsql icon indicating copy to clipboard operation
lrsql copied to clipboard

Add Support for HTTP only deployment

Open ctm8788 opened this issue 2 years ago • 1 comments

There currently isn't any documentation around only enabling the HTTP endpoint.

We will be handling SSL at the Load Balancer and then sending traffic to the lrssql HTTP endpoint.

Any recommendations?

ctm8788 avatar Jul 27 '22 16:07 ctm8788

Hello @ctm8788,

Unfortunately there is no way to disable the HTTPS port for HTTP-only use, as documented here under the LRSQL_ENABLE_HTTP config var. However, you should be able to just ignore the HTTPS port, without affecting HTTP/HTTPS config (i.e. you can keep the default self-signed cert gen), and it should work fine for your use case.

kelvinqian00 avatar Aug 01 '22 14:08 kelvinqian00

@kelvinqian00's response is satisfactory, when run behind a load balancer that is terminating HTTPS the instance HTTPS port can be safely ignored.

milt avatar Apr 13 '23 19:04 milt