Running server on port 80/443 as other user


What is a good way of running a server written in go on port 80/443 as another user than root? I could put it behind nginx and use port forwarding but I rather not if it is possible. I want to do this on Linux.

A good explanation is here.


Thanks. setcap seems like a good workaround. I have never heard about it before but it was installed on my centos machine :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.