http { [...] server { listen 8000; server_name kassenbuch; access_log logs/kassenbuch.access.log main; error_log logs/kassenbucherror.log info; root /var/www/kassenbuch/; } server { listen 8000; server_name couchbuch; access_log logs/couchbuch.access.log main; error_log logs/couchbucherror.log info; root /var/www/couchbuch/; } }