1# $nostromo: nhttpd.conf-dist,v 1.22 2016/04/12 18:54:16 hacki Exp $ 2 3# MAIN [MANDATORY] 4 5servername www.nazgul.ch 6#servername www.nazgul.ch:8080 7serverlisten * 8#serverlisten 81.221.21.250 127.0.0.1 ::1 9serveradmin webmaster@nazgul.ch 10serverroot nostromo 11servermimes conf/mimes 12docroot nostromo/htdocs 13docindex index.html 14 15# LOGS [OPTIONAL] 16 17logpid logs/nhttpd.pid 18logaccess logs/access_log 19 20# SETUID [RECOMMENDED] 21 22user _nostromo 23 24# BASIC AUTHENTICATION [OPTIONAL] 25 26#htaccess .htaccess 27#htpasswd nostromo/conf/.htpasswd 28#htpasswd +bsdauth 29#htpasswd +bsdauthnossl 30 31# SSL [OPTIONAL] 32 33#sslport 443 34#sslcert /etc/ssl/server.crt 35#sslcertkey /etc/ssl/private/server.key 36 37# CUSTOM RESPONSES [OPTIONAL] 38# 39# The custom responses are searched in the corresponding document root. 40 41#custom_401 custom_401.html 42#custom_403 custom_403.html 43#custom_404 custom_404.html 44 45# ALIASES [OPTIONAL] 46 47/icons nostromo/icons 48 49# VIRTUAL HOSTS [OPTIONAL] 50 51#www.rahel.ch nostromo/htdocs/www.rahel.ch 52#www.rahel.ch:8080 nostromo/htdocs/www.rahel.ch 53 54# HOMEDIRS [OPTIONAL] 55 56#homedirs /home 57#homedirs_public public_www 58