This commit is contained in:
parent
e0f02ef0f7
commit
11701a67c8
8 changed files with 38 additions and 10 deletions
|
@ -1,5 +1,9 @@
|
|||
server {
|
||||
% if domain_aliases:
|
||||
server_name ${domain} ${' '.join(sorted(domain_aliases))};
|
||||
% else:
|
||||
server_name ${domain};
|
||||
% endif
|
||||
root ${webroot if webroot else '/var/www/{}/'.format(vhost)};
|
||||
index ${' '.join(index)};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue