diff options
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; + } +} |