update 2025-10-18
Add custom certificate name support
This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -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;"
|
||||
|
||||
Reference in New Issue
Block a user