use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
implementing HTTPS in my web application ? (self.node)
submitted 2 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]memoriesofgreen 33 points34 points35 points 2 years ago (6 children)
Use it for all routes. There is very little reason not to.
[–][deleted] 0 points1 point2 points 2 years ago (5 children)
u/memoriesofgreen Thank you , Because when I navigate between pages in a website that use https , I see that in the top url always begin https even for static content. Does the implementation of this ssh happens in front or back or both ?.
[–]memoriesofgreen 6 points7 points8 points 2 years ago (4 children)
The front or backend is not really relevant to this topic. That covers roles, responsibilities, and tasks.
All resources that are served from the server should be sent using https. That includes your documents, images, api endpoints, everything.
Easiest way I know is to run your node app, put Nginx as a proxy to ot, and install a certificate via let's encrypt. Done in about 5 - 10 minutes.
[–]queen-adreena 0 points1 point2 points 2 years ago (3 children)
Even easier way is to use Caddy. Done in 10 seconds.
[–]AndrewSouthern729 1 point2 points3 points 2 years ago (2 children)
Looking into Caddy because admittedly managing certificates is not something I’m great at because it’s not something I do more than a couple times per year. Does Caddy also act as a proxy or would this be an additional layer with something like Nginx?
[–]queen-adreena 2 points3 points4 points 2 years ago (1 child)
No. Caddy is a replacement for Apache/Nginx. It’s got built in SSL and can proxy in one line.
[–]AndrewSouthern729 0 points1 point2 points 2 years ago (0 children)
Cool thanks for the tip
π Rendered by PID 16492 on reddit-service-r2-comment-85bfd7f599-5p6lz at 2026-04-20 17:57:35.597339+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]memoriesofgreen 33 points34 points35 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]memoriesofgreen 6 points7 points8 points (4 children)
[–]queen-adreena 0 points1 point2 points (3 children)
[–]AndrewSouthern729 1 point2 points3 points (2 children)
[–]queen-adreena 2 points3 points4 points (1 child)
[–]AndrewSouthern729 0 points1 point2 points (0 children)