change app dns bind behavior

This commit is contained in:
leo committed 2026-11-22 22:44:47 +02:00
1 parent dd50a0d05e
commit 40a8ed23cd
17 files changed
+1440 -104

No files matched your search

+31 -6
View File
@@ -12,6 +12,23 @@ domain_template = "{hostname}.{base_domain}"
# Backend port used when `assign` is called without --port.
default_port = 80
[dns]
# What the public Cloudflare record points at:
# host - the Proxmox host's public address (default; it runs the reverse proxy)
# fixed - the literal dns.address below
# guest - the guest's own address (only when guests hold public IPs)
target = "host"
# Explicit public address of the Proxmox host. Recommended: skips detection and
# works on hosts whose outbound address differs from their inbound one.
# address = "93.184.216.34"
# Alternative to address: resolve the host's own FQDN instead of using a detector.
# hostname = "pve.example.com"
# Used when neither address nor hostname is set. The v4 URL is queried for
# ip_preference = "ipv4", the v6 URL for "ipv6", both for "auto".
detect_url_v4 = "https://ipv4.icanhazip.com"
detect_url_v6 = "https://ipv6.icanhazip.com"
detect_timeout = 5
[proxmox]
# Proxmox VE API endpoint (note the /api2/json suffix and port 8006).
api_url = "https://pve.example.com:8006/api2/json"
@@ -68,17 +85,25 @@ manage_dir = "/etc/nginx/conf.d/proxdomain.d"
# cert_resolver = "letsencrypt"
[webserver.tls]
# none - proxy listens on :80 (Cloudflare terminates TLS, or plain HTTP)
# files - serve :443 using cert_dir/<fqdn>/{fullchain,privkey}.pem
# certbot - obtain the certificate with certbot (nginx only); the app first
# activates an HTTP vhost to answer the ACME challenge
# none - proxy listens on :80 (Cloudflare terminates TLS, or plain HTTP)
# letsencrypt - automatic HTTPS with a Let's Encrypt certificate (recommended)
# files - serve :443 using cert_dir/<fqdn>/{fullchain,privkey}.pem
# certbot - alias of letsencrypt for nginx (kept for older configs)
#
# nginx : proxdomain runs certbot (webroot/HTTP-01), then writes the :443 vhost
# caddy : the site block pins the ACME issuer to Let's Encrypt
# traefik : the router uses cert_resolver
mode = "none"
cert_dir = "/etc/letsencrypt/live"
webroot = "/var/www/certbot"
# Required for mode = "certbot":
# Required for mode = "letsencrypt"/"certbot": Let's Encrypt expiry notices.
# email = "ops@example.com"
# Alternative ACME directory: staging endpoint, Pebble, or another CA.
# acme_ca = "https://acme-staging-v02.api.letsencrypt.org/directory"
# Command run by certbot after each renewal. Default: reload_command.
# renew_hook = "systemctl reload nginx"
# certbot_command = ["certbot", "certonly", "--webroot", "-w", "/var/www/certbot", "-n", "--agree-tos"]
# extra_args = ["--deploy-hook", "systemctl reload nginx"]
# extra_args = ["--preferred-chain", "ISRG Root X1"]
[watch]
# Used by `proxdomain watch`; the command itself is safe to run from cron/systemd.