ServerAdmin nobody-wolpertinger@nowhere.ws ServerName {{ git_server_name }} # Serve static cgit files directly Alias /static /var/www/{{ git_server_name }}/static Alias /robots.txt /var/www/{{ git_server_name }}/robots.txt AllowOverride None Options FollowSymlinks Require all granted # Dispatch other requests to CGI ScriptAlias / "/usr/lib/cgit/cgit.cgi/" AllowOverride None Options ExecCGI FollowSymlinks Require all granted