Re:static-server: an HTTP server in Go for static content
by mholt on Saturday September 16, 2023 @06:29PM
(#37539432)
On Mac, the defaults aren't privileged. (Not sure why. That's just how it is.)
The --browse flag is optional and unrelated to ports/privileges. Otherwise, that sounds about right. Caddy defaults to port 80 unless you give it a domain name, then it defaults to port 443 and redirects HTTP on port 80 to HTTPS.
The --browse flag is optional and unrelated to ports/privileges. Otherwise, that sounds about right. Caddy defaults to port 80 unless you give it a domain name, then it defaults to port 443 and redirects HTTP on port 80 to HTTPS.