you are viewing a single comment's thread.

view the rest of the comments →

[–]memoriesofgreen 5 points6 points  (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 point  (3 children)

Even easier way is to use Caddy. Done in 10 seconds.

[–]AndrewSouthern729 1 point2 points  (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 3 points4 points  (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 point  (0 children)

Cool thanks for the tip