...
map $host{
....
}
include /path/file1.conf;
include /path/file2.conf;
include /path/file3.conf;
include /path/file4.conf;
server {
listen 127.0.0.1:80;
...
location ... {
...
}
location ... {
...
}
}
server {
listen 80;
...
location ... {
...
}
location ... {
...
}
}
server {
listen 443 ssl;
...
location ... {
...
}
location ... {
...
}
}
Find more questions by tags Nginx