51 lines
1.0 KiB
Nginx Configuration File
51 lines
1.0 KiB
Nginx Configuration File
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
|
|
http {
|
|
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html/home;
|
|
server_name ~^home\.example([0-9])*\.com$;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html/public;
|
|
server_name ~^public\.example([0-9])*\.com$;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html/secure;
|
|
server_name ~^secure\.example([0-9])*\.com$;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html/admin;
|
|
server_name ~^admin\.example([0-9])*\.com$;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html/dev;
|
|
server_name ~^dev\.example([0-9])*\.com$;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html/mail;
|
|
server_name ~^(mx[1-2])\.mail\.example([0-9])*\.com$;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html/singlefactor;
|
|
server_name ~^singlefactor\.example([0-9])*\.com$;
|
|
}
|
|
}
|