From fb0b3914086484d9284426985984e2c1699ba557 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Fri, 5 Jan 2024 16:13:01 -0500 Subject: ldap, internal CA, internal webserver, dns, etc. --- .../files/johan/http.lldap.internal.simponic.xyz.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 roles/private/files/johan/http.lldap.internal.simponic.xyz.conf (limited to 'roles/private/files/johan/http.lldap.internal.simponic.xyz.conf') diff --git a/roles/private/files/johan/http.lldap.internal.simponic.xyz.conf b/roles/private/files/johan/http.lldap.internal.simponic.xyz.conf new file mode 100644 index 0000000..8b9efe5 --- /dev/null +++ b/roles/private/files/johan/http.lldap.internal.simponic.xyz.conf @@ -0,0 +1,13 @@ +server { + listen 80; + server_name lldap.internal.simponic.xyz; + + location /.well-known/acme-challenge { + root /var/www/letsencrypt; + try_files $uri $uri/ =404; + } + + location / { + rewrite ^ https://lldap.internal.simponic.xyz$request_uri? permanent; + } +} -- cgit v1.2.3-70-g09d2