56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
# MAIN [MANDATORY]
|
|
|
|
servername localhost
|
|
#servername www.nazgul.ch:8080
|
|
serverlisten *
|
|
#serverlisten 81.221.21.250 127.0.0.1 ::1
|
|
serveradmin webmaster@localhost
|
|
serverroot /var/nostromo
|
|
servermimes /var/nostromo/conf/mimes
|
|
docroot /var/nostromo/htdocs
|
|
docindex index.html
|
|
|
|
# LOGS [OPTIONAL]
|
|
|
|
logpid /var/run/nostromo/nhttpd.pid
|
|
#logaccess /var/log/nostromo/access_log
|
|
|
|
# SETUID [RECOMMENDED]
|
|
|
|
user www-data
|
|
|
|
# BASIC AUTHENTICATION [OPTIONAL]
|
|
|
|
#htaccess .htaccess
|
|
#htpasswd /var/nostromo/conf/.htpasswd
|
|
#htpasswd +bsdauth
|
|
#htpasswd +bsdauthnossl
|
|
|
|
# SSL [OPTIONAL]
|
|
|
|
#sslport 443
|
|
#sslcert /etc/ssl/server.crt
|
|
#sslcertkey /etc/ssl/server.key
|
|
|
|
# CUSTOM RESPONSES [OPTIONAL]
|
|
#
|
|
# The custom responses are searched in the corresponding document root.
|
|
|
|
#custom_401 custom_401.html
|
|
#custom_403 custom_403.html
|
|
#custom_404 custom_404.html
|
|
|
|
# ALIASES [OPTIONAL]
|
|
|
|
/icons /var/nostromo/icons
|
|
|
|
# VIRTUAL HOSTS [OPTIONAL]
|
|
|
|
#www.rahel.ch /var/nostromo/htdocs/www.rahel.ch
|
|
#www.rahel.ch:8080 /var/nostromo/htdocs/www.rahel.ch
|
|
|
|
# HOMEDIRS [OPTIONAL]
|
|
|
|
#homedirs /home
|
|
#homedirs_public public_www
|