From d4d98f7d6430dd9a09611e619985001a587bb912 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 10 Dec 2024 23:02:00 +0000 Subject: [PATCH] Add authentik to KonSol --- http.d/auth.konpeki.solutions | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 http.d/auth.konpeki.solutions diff --git a/http.d/auth.konpeki.solutions b/http.d/auth.konpeki.solutions new file mode 100644 index 0000000..e027799 --- /dev/null +++ b/http.d/auth.konpeki.solutions @@ -0,0 +1,18 @@ +server { + + server_name auth.konpeki.solutions www.auth.konpeki.solutions; + + ssl_certificate /etc/letsencrypt/live/auth.konpeki.solutions/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/auth.konpeki.solutions/privkey.pem; + ssl_trusted_certificate /etc/letsencrypt/live/auth.konpeki.solutions/fullchain.pem; + + include snippets/global/common-ssl.conf; + + include snippets/proxy/common-proxy-headers.conf; + + location / { + proxy_pass https://authentik; + } + + include snippets/global/errors/http-cat-error-pages.conf; +}