server { listen 80; server_name localhost; access_log off; location / { root /srv/www/; autoindex on; autoindex_exact_size on; add_before_body /__assets/header.html; } location /__assets/ { alias /usr/share/nginx/html/assets/; } }