From 389c95cfba658f08a75f8c362cd779aeda001747 Mon Sep 17 00:00:00 2001 From: Jayson Jacobs Date: Fri, 12 Jul 2024 13:56:39 -0600 Subject: [PATCH] update certbot command --- package.json | 2 +- src/utils/nginx.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fb8c292..a3df248 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "llm-proxy", - "version": "1.1.3", + "version": "1.1.4", "description": "Manages Nginx for reverse proxy to multiple LLMs, with TLS & Bearer Auth tokens", "main": "dist/index.js", "scripts": { diff --git a/src/utils/nginx.ts b/src/utils/nginx.ts index 31e5965..f01910f 100644 --- a/src/utils/nginx.ts +++ b/src/utils/nginx.ts @@ -112,7 +112,7 @@ export class NginxManager { const cloudflareFlags = cloudflare ? ' --dns-cloudflare --dns-cloudflare-credentials /opt/cloudflare/credentials' : '' - const command = `certbot --nginx -n --agree-tos${cloudflareFlags} ${domainArgs} --preferred-challenges dns-01` + const command = `certbot certonly -n --email j4ys0n@gmail.com --agree-tos${cloudflareFlags} ${domainArgs} --preferred-challenges dns-01` try { await execAsync(command) message = 'Certificates obtained successfully.'