Conf/Examples/Minimal

From AOLserver Wiki
Jump to navigation Jump to search

Minimal Configuration

part of AOLserver Config Examples


 # Global Parameters
 ns_section ns/parameters
 ns_param home /usr/lib/aolserver4
 ns_param serverlog /var/log/aolserver4/nsd.log
 ns_param pidfile /var/run/aolserver4/nsd.pid
 ns_section ns/servers
 ns_param   server1 "Website 1"
 # virtual server 1 
 ns_section ns/server/server1
 ns_param   directoryfile   index.html
 ns_param   pageroot        /var/www/example1.com
 # modules for server1
 ns_section ns/server/server1/modules
 ns_param   nssock        nssock.so
 # Configure server1 nssock
 ns_section ns/server/server1/module/nssock
 ns_param   port            80
 ns_param   address         0.0.0.0