Only allow access via domain name


#1

Is it possible to disable access via IP:port but only allow access via domain name?
If the port of my gogs service is 3000, and I configured proxy with nginx, can I configure my firewall such that only port 80 is opend but port 3000 closed?