Generate extra server config with full domain
This commit is contained in:
parent
546da1a0e9
commit
f981ac4d0b
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ begin
|
|||
echo "$domain"
|
||||
end
|
||||
|
||||
function getExtraServerConfig -a subdomain domain
|
||||
function getExtraServerConfig -a domain
|
||||
end
|
||||
|
||||
function getServiceLocationConfig -a domain service location
|
||||
|
@ -158,7 +158,7 @@ begin
|
|||
"server {" \
|
||||
"listen 80;" \
|
||||
"server_name $domain;" \
|
||||
(getExtraServerConfig $subdomain $domain $argv)
|
||||
(getExtraServerConfig $domain $argv)
|
||||
|
||||
for j in (seq 1 2 (count $locations))
|
||||
set -l service $locations[$j]
|
||||
|
|
Loading…
Reference in a new issue