From 70af865e5eea81371c3137fb10573d66801ef1d6 Mon Sep 17 00:00:00 2001 From: lingkai5wu Date: Mon, 17 Aug 2026 23:22:39 +0800 Subject: [PATCH] feat: add conf.d templates for AdGuardHome and Backrest --- conf.d/adguardhome.conf.template | 12 ++++++++++++ conf.d/backrest.conf.template | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 conf.d/adguardhome.conf.template create mode 100644 conf.d/backrest.conf.template diff --git a/conf.d/adguardhome.conf.template b/conf.d/adguardhome.conf.template new file mode 100644 index 0000000..ce99cad --- /dev/null +++ b/conf.d/adguardhome.conf.template @@ -0,0 +1,12 @@ +server { + listen 443 ssl; + include snippets/https.conf; + + server_name adguard.${BASE_DOMAIN}; + + include snippets/proxy.conf; + + location / { + proxy_pass http://adguardhome; + } +} diff --git a/conf.d/backrest.conf.template b/conf.d/backrest.conf.template new file mode 100644 index 0000000..3b1bd7c --- /dev/null +++ b/conf.d/backrest.conf.template @@ -0,0 +1,12 @@ +server { + listen 443 ssl; + include snippets/https.conf; + + server_name backrest.${BASE_DOMAIN}; + + include snippets/proxy.conf; + + location / { + proxy_pass http://backrest:9898; + } +}