lancachenet/generic

Support lancache-dns UPSTREAM_DNS syntax

Closed this issue · 0 comments

The lancache-dns service supports multiple upstream DNS servers using the same environment variable as generic, but uses a slightly different syntax, which causes nginx to fail to start with a configuration file syntax error if both services are configured using the same value.

Replacing semicolons from UPSTREAM_DNS with spaces before populating the nginx config will resolve this.