解决配置域名后访问页面404问题

This commit is contained in:
yoh0o
2024-06-23 06:56:08 +08:00
parent 4f00e0f43c
commit cb8dc15738
3 changed files with 2 additions and 3 deletions
+1
View File
@@ -44,6 +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;'"
healthcheck:
test: "wget -nv -t1 --spider http://localhost/login --no-check-certificate > /dev/null"
interval: 10s