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