windows nginx目录结构

nginx.config
server {
listen 443 ssl;
server_name a1.com;
ssl_certificate ssl/a1.com.pem;
ssl_certificate_key ssl/a1.com.key;
root html/a1.com;
index index.html index.php;
}
server {
listen 443 ssl;
server_name www.a2.com;
ssl_certificate ssl/a2.com.pem;
ssl_certificate_key ssl/a2.com.key;
root html/www.a2.com;
index index.html index.php;
}
server {
listen 443 ssl;
server_name test.a3.com;
ssl_certificate ssl/test.a3.com.pem; #nginx/config/ssl
ssl_certificate_key ssl/test.a3.com.key; #nginx/config/ssl
root html/test.a3.com; #nginx/html
index index.html index.php;
}
# server {
# listen 80;
# server_name localhost;
# location / {
# root html/a1.com;
# index index.html index.htm;
# }
# location /prefix/ {
# alias html/www.a2.com/;
# index index.html index.htm;
# try_files $uri $uri/ =404;
# }
# }