diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-05 16:13:01 -0500 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-05 16:13:01 -0500 |
commit | fb0b3914086484d9284426985984e2c1699ba557 (patch) | |
tree | 963a2288a3b33f389972a78efaf3b6462bbe1925 /roles/private/files/johan/http.lldap.internal.simponic.xyz.conf | |
parent | b62d5f559b81556a1dd6197c72a0c43ba1744477 (diff) | |
download | oldinfra-fb0b3914086484d9284426985984e2c1699ba557.tar.gz oldinfra-fb0b3914086484d9284426985984e2c1699ba557.zip |
ldap, internal CA, internal webserver, dns, etc.
Diffstat (limited to 'roles/private/files/johan/http.lldap.internal.simponic.xyz.conf')
-rw-r--r-- | roles/private/files/johan/http.lldap.internal.simponic.xyz.conf | 13 |
1 files changed, 13 insertions, 0 deletions
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; + } +} |