diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 19:24:55 -0500 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 19:25:04 -0500 |
commit | 43415bdd561f593169ee7e4e12b8e25f39321469 (patch) | |
tree | 624298a5bcd341b26b5a2293f71737a83276d154 /roles/private/files/johan/http.httpsms.internal.simponic.xyz.conf | |
parent | b19321bab542de35564127dc77781af44252bcb9 (diff) | |
download | oldinfra-43415bdd561f593169ee7e4e12b8e25f39321469.tar.gz oldinfra-43415bdd561f593169ee7e4e12b8e25f39321469.zip |
add httpsms
Diffstat (limited to 'roles/private/files/johan/http.httpsms.internal.simponic.xyz.conf')
-rw-r--r-- | roles/private/files/johan/http.httpsms.internal.simponic.xyz.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/private/files/johan/http.httpsms.internal.simponic.xyz.conf b/roles/private/files/johan/http.httpsms.internal.simponic.xyz.conf new file mode 100644 index 0000000..eb07c2b --- /dev/null +++ b/roles/private/files/johan/http.httpsms.internal.simponic.xyz.conf @@ -0,0 +1,13 @@ +server { + listen 80; + server_name httpsms.internal.simponic.xyz; + + location /.well-known/acme-challenge { + root /var/www/letsencrypt; + try_files $uri $uri/ =404; + } + + location / { + rewrite ^ https://httpsms.internal.simponic.xyz$request_uri? permanent; + } +} |