update 2025-10-18

Add custom certificate name support
This commit is contained in:
2025-10-18 19:10:36 +03:00
parent 7499e55ce6
commit 94259c5f99
3 changed files with 3 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ def main() -> None:
),
proxy_pass=params.get("proxy_pass"),
certificate_dir=_get_certificate_path(
args.http_only, domains_with_certs, args.certificates_path, server_name
args.http_only, domains_with_certs, args.certificates_path, params.get("certificate_name") or server_name
),
port=params.get("port"),
ssl_port=params.get("ssl_port"),

View File

@@ -17,6 +17,7 @@ servers:
- "proxy_read_timeout 86400;"
"*.doma.in":
all_names: "*.doma.in doma.in"
certificate_name: doma.in
proxy_pass: "http://full.subdomain.proxy"
server_options:
- "proxy_buffering off;"

View File

@@ -1,4 +1,4 @@
version: '3.4'
name: run_once
services:
certbot: