prologue
prologue copied to clipboard
How to create https server?
Is it possible to create https server?
Sorry, It doesn't support HTTPS server. I think you can use nginx reverse proxy enabling HTTPS.
see also https://forum.nim-lang.org/t/8849
Follwoing this. Is it on the list for TO-DO?
I'm working on a frontend framework based on Nim JS backend atm. I will think of implementing a HTTPs server later.
Awesome stuff! Thanks for putting up this amazing framework haha.
Is the usecase that the server is capable of sending HTTPS requests to other servers? Or, in contrast to that, to be connected to via HTTPS from clients?
Mostly asking since I'm struggling a bit to envision a usecase for the latter scenario. Normally you'd put nginx or apache between your server and the internet which are capable of such things, thus the confusion on my end.
In case there still is need for using prologue with https, I've written up a deployment guide that leads you through how you can deploy docker with an nginx reverse proxy where nginx handles HTTPS. https://planety.github.io/prologue/deployment/
Granted, that one assumes you'll deploy both together via the same docker container, but it can be easily enough adjusted to your own way that you want to deploy (e.g. nginx and prologue in separate containers or whatnot).
Since it's a good idea to use a reverse proxy anyway I think that's an alright state to be in regarding this issue ?