Em Tue, 2022-03-15 às 23:32 +0100, i...@tutanota.com escreveu: > I was thinking that since Go by default doesn't run a webserver on > port 80 or 443
What does it even mean. Go is a programming language. If you want to build and run a webserver with it and have it listen on whatever port you want, you can. Go doesn´t have any opinion as to what ports you should or shouldn't use. And the default ports por an http/https server ARE 80 and 443. > I would just spawn as www user on some higher > port and then use PF to redirect. Yes, that is one way to do it. > I can run it like this: [...] > But that wouldn't keep it running after a reboot. There you go: https://man.openbsd.org/afterboot.8#System_command_scripts