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"),
|
proxy_pass=params.get("proxy_pass"),
|
||||||
certificate_dir=_get_certificate_path(
|
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"),
|
port=params.get("port"),
|
||||||
ssl_port=params.get("ssl_port"),
|
ssl_port=params.get("ssl_port"),
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ servers:
|
|||||||
- "proxy_read_timeout 86400;"
|
- "proxy_read_timeout 86400;"
|
||||||
"*.doma.in":
|
"*.doma.in":
|
||||||
all_names: "*.doma.in doma.in"
|
all_names: "*.doma.in doma.in"
|
||||||
|
certificate_name: doma.in
|
||||||
proxy_pass: "http://full.subdomain.proxy"
|
proxy_pass: "http://full.subdomain.proxy"
|
||||||
server_options:
|
server_options:
|
||||||
- "proxy_buffering off;"
|
- "proxy_buffering off;"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
version: '3.4'
|
name: run_once
|
||||||
|
|
||||||
services:
|
services:
|
||||||
certbot:
|
certbot:
|
||||||
|
|||||||
Reference in New Issue
Block a user