Web Servers

Basic configuration for various web server. Make sure to block any access to config folder.

Sub Pages

Apache →
You need at least the following setup: <virtualhost *:80> ServerName example.com ServerAlias example.com www.example.com ServerAdmin
Lighttpd →
Example configurations: $HTTP["url"] =~ "^/config" { url.access-deny = ( "" ) } $HTTP["url"] =~
Nginx →
You need the following configuration: server { listen 80; server_name example.com www.example.com; root /usr/share/nginx/html; access_log