user nobody;
worker_processes 1;
events{
worker_connections 1024;
}
http{
server{
listen 192.168.91.150:80;
server_name 192.168.91.150;
access_log logs/server1.access.log combined;
location /
{
index index.html index.htm;
root html/server1;
autoindex on;
}
}
server{
listen 192.168.91.151:80;
server_name 192.168.91.151;
access_log logs/server2.access.log combined;
location /
{
index index.html index.htm;
root html/server2;
autoindex on;
}
}
}