server {
limit_conn myzone 10;
listen 1.1.1.1:80;
autoindex on;
server_name domain1.com;
location / {
root /home/domain1/public_html;
index index.html index.htm;
}
}
server {
limit_conn myzone 10;
listen 2.2.2.2:80;
autoindex on;
server_name domain2.com;
location / {
root /home/domain2/public_html;
index index.html index.htm;
}
}
server {
limit_conn myzone 10;
listen 3.3.3.3:80;
autoindex on;
server_name domain3.com;
location / {
root /home/domain3/public_html;
index index.html index.htm;
}
}