mirror of
https://github.com/inspec/inspec
synced 2024-12-26 21:13:25 +00:00
9773e1cd94
* Add wildcard/multiple server support to nginx_conf Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * separate the merge function for maps in nginx_conf Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
15 lines
324 B
Text
15 lines
324 B
Text
server {
|
|
listen 8083;
|
|
server_name example1.com www.example1.com;
|
|
location ~ ^/static/ {
|
|
root /var/www/virtual/www.example1.com/htdocs;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 8084;
|
|
server_name example2.com www.example2.com;
|
|
location ~ ^/media/ {
|
|
root /var/www/virtual/www.example2.com/htdocs;
|
|
}
|
|
}
|