2 ms·
I'm not sure how big the issue is, but I would add the ability to run your Go app as an restricted user. Using Nginx or another webserver in front of your app
by mrweasel 13y ago
I'm not sure how big the issue is, but I would add the ability to run your Go app as an restricted user.
Using Nginx or another webserver in front of your app means that you won't have to deal with privilege seperation yourself. Just run the Go binary in a chroot as an restricted user and let Nginx deal with the binding on port 80/443.
- BarkMore 13y agoIf all you want is binding to port 80/443, then it's simpler to use iptable port forwarding than Nginx.