@kebokyo @neil
My WWW server is currently about 20cm from my left elbow, and serves static content too.
I don't worry about potential attacks, because I've seen the logs. Attackers do the obvious things and go after the complex softwares.
10 minutes ago, for example, an attacker tried sending an HTTP GET request to my GOPHER server, for example.
Earlier, one made 8 attempts within a single second to change to an /etc directory in my FTP server. My FTP server has no /etc directory to serve.
Yesterday, one was trying CGI to inject a wget command to my HTTP server using shell syntax and another was trying to send parameters to an index.php script. There's no CGI, nor wget, nor PHP anywhere in the HTTP server or even the entire machine.
It has been like this for years. Don't use complex tools for simple static servers, and one's worries are things entirely other than the WWW servers.
#publicfile