Nice writeup. Maybe I've missed something here (I'm good at doing that), but surely a more effective way of handling https is by using a web server like Nginx as a reverse proxy. Then the redirect is effectively a one-liner.
Certainly in production you'd want a more robust setup in order to scale to more than a single node process?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice writeup. Maybe I've missed something here (I'm good at doing that), but surely a more effective way of handling https is by using a web server like Nginx as a reverse proxy. Then the redirect is effectively a one-liner.
Certainly in production you'd want a more robust setup in order to scale to more than a single node process?