解决了子域名无法访问和会访问到管理后台的问题

This commit is contained in:
yoh0o
2024-06-23 22:51:48 +08:00
parent cb8dc15738
commit d1e70c33db
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ services:
- 53:53/tcp
- 53:53/udp
- 8080:80/tcp
command: /bin/bash -c "envsubst '$$ADMIN_DOMAIN' < /dnslog/dnslog_nginx.conf > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'"
command: /bin/bash -c "envsubst '$$ADMIN_DOMAIN,$$DNS_DOMAIN' < /dnslog/dnslog_nginx.conf > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'"
healthcheck:
test: "wget -nv -t1 --spider http://localhost/login --no-check-certificate > /dev/null"
interval: 10s