nginx.conf:
server {
listen 80;
server_name localhost;
location / {
root html;
index index.html index.htm;
}
}
server {
listen 8000;
server_name test;
location / {
root html;
index index.html index.htm;
}
}
server {
listen 80;
server_name localhost;
location / {
root html;
index index.html index.htm;
}
}
server {
listen 8000;
server_name test;
location / {
root html;
index index.html index.htm;
}
}