Skip to content

Commit 91eade8

Browse files
committed
fix: use correct boolean type conversion
1 parent 0ab902e commit 91eade8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

latest/overlay/etc/templates/nginx.conf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ http {
2828

2929
include /etc/nginx/custom.d/*.conf;
3030
31-
{{ if bool (getenv "NGINX_DEFAULT_HOST") }}
31+
{{ if (getenv "NGINX_DEFAULT_HOST") | conv.ToBool }}
3232
server {
3333
include /etc/nginx/host.conf;
3434
}

0 commit comments

Comments
 (0)