cinatra icon indicating copy to clipboard operation
cinatra copied to clipboard

Https

Open opakaj opened this issue 4 years ago • 1 comments

I'm working on an API with cinatra and it has basic http verbs. Now my query is, if I set it up as a docker image, uploaded it to the cloud and bought it a domain name e.g api.something.com then gave it https capabilities with certbot. Wouldn't this implementation still work? so I wouldn't need to implement the canara https version. In so doing, communication would work well via https.

opakaj avatar Apr 13 '21 17:04 opakaj

Look at this example: https://github.com/qicosmos/cinatra/blob/master/example/main.cpp#L37

qicosmos avatar Apr 14 '21 22:04 qicosmos