I find it easier to run Go programs with pm2, together with Node.js programs.
As for the reverse proxy, I use nginx mostly but am doing trial deployments with Caddy.
If the service doesn't need to be on port 443 (backend API), I may skip the reverse proxy altogether and let the Go program listen on port 8443 of an IPv6 address using a self-signed certificate, and then enable Cloudflare in front of it.
In this article I showed you a way to do this on the built-in tools (almost every distribution already has Nginx installed, for example) and with a minimum of configuration effort... 😉
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.
I find it easier to run Go programs with pm2, together with Node.js programs.
As for the reverse proxy, I use nginx mostly but am doing trial deployments with Caddy.
If the service doesn't need to be on port 443 (backend API), I may skip the reverse proxy altogether and let the Go program listen on port 8443 of an IPv6 address using a self-signed certificate, and then enable Cloudflare in front of it.
Hello! Yes, of course, you can choose this path.
In this article I showed you a way to do this on the built-in tools (almost every distribution already has Nginx installed, for example) and with a minimum of configuration effort... 😉