Merge 6e11716e34
into e1c685b679
This commit is contained in:
commit
3798760c49
1 changed files with 2 additions and 5 deletions
|
@ -133,14 +133,11 @@ server {
|
|||
{{ if $.Env.DEFAULT_HOST }}
|
||||
{{ if eq $.Env.DEFAULT_HOST $host }}
|
||||
listen 80 default_server;
|
||||
server_name {{ $host }};
|
||||
{{ else }}
|
||||
server_name {{ $host }};
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
server_name {{ $host }};
|
||||
{{ end }}
|
||||
|
||||
server_name {{ $host }};
|
||||
|
||||
{{ if (exists (printf "/etc/nginx/vhost.d/%s" $host)) }}
|
||||
include {{ printf "/etc/nginx/vhost.d/%s" $host }};
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue