From 20ee3759c35006193e010b3bb0710bd344472015 Mon Sep 17 00:00:00 2001 From: Zoey Date: Tue, 7 Jan 2025 13:12:07 +0100 Subject: [PATCH] a --- Dockerfile | 2 +- backend/internal/nginx.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0aa813e9b..94651c628 100644 --- a/Dockerfile +++ b/Dockerfile @@ -117,7 +117,7 @@ COPY --from=frontend /app/dist LABEL com.centurylinklabs.watchtower.monitor-only="true" ENV NODE_ENV=production \ - TV=1a \ + TV=1b \ ACME_SERVER="https://acme-v02.api.letsencrypt.org/directory" \ ACME_MUST_STAPLE=false \ ACME_OCSP_STAPLING=true \ diff --git a/backend/internal/nginx.js b/backend/internal/nginx.js index 73d186d51..d7574c49e 100644 --- a/backend/internal/nginx.js +++ b/backend/internal/nginx.js @@ -209,7 +209,12 @@ const internalNginx = { }) .then(() => { if (process.env.DISABLE_NGINX_BEAUTIFIER === 'false') { - utils.execFile('nginxbeautifier', ['-s', '4', filename]); + try { + utils.execFile('nginxbeautifier', ['-s', '4', filename]); + } catch { + // nothing + } + } }); });