A follow-up question to this one from 2012: https://unix.stackexchange.com/questions/32182/simple-command-line-http-server
Does anyone know a simple file webserver that is also secure? Many propose using http.server from Python, but docs explicitly state
Warning http.server is not recommended for production. It only implements basic security checks.
Basic Requirements:
- should (only) be able to serve a directory
- the focus should be on exposing the socket to the Internet without the worry of a take-over or similar events
- docs should at least have a positive security note (in contrast to what Python stdlib says about its http.server)