From d0c971cfba483a9c7544d383a82f6062c7cbdc0f Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sat, 11 Mar 2023 17:55:44 -0800 Subject: [PATCH] Add reverse proxy for backup nas --- server/config/traefik/config/backup_nas.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 server/config/traefik/config/backup_nas.yaml diff --git a/server/config/traefik/config/backup_nas.yaml b/server/config/traefik/config/backup_nas.yaml new file mode 100644 index 0000000..7cbec6c --- /dev/null +++ b/server/config/traefik/config/backup_nas.yaml @@ -0,0 +1,17 @@ +http: + routers: + backup_nas: + rule: "Host(`backup.nas.jafner.net`)" + entryPoints: "websecure" + middlewares: + - "lan-only@file" + service: "backup_nas@file" + tls: + certResolver: "lets-encrypt" + + services: + backup_nas: + loadBalancer: + servers: + - url: "http://192.168.1.11/" + \ No newline at end of file