add tls to nginx redirections
This commit is contained in:
parent
6c0038b421
commit
30d22895d4
2 changed files with 92 additions and 9 deletions
|
@ -114,7 +114,7 @@ export class Runner {
|
|||
const sites = new Set<string>();
|
||||
for (const redir of this.config.redirections) {
|
||||
if (redir.kind !== "http") continue;
|
||||
await this.nginx.add_proxy(redir.domain, redir.port, paths.sites);
|
||||
await this.nginx.add_proxy(redir.domain, redir.port, paths.sites, redir.tls);
|
||||
sites.add(redir.domain);
|
||||
}
|
||||
for await (const domains of this.nginx.read_all_in_dir(paths.sites)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue