From 6ba0d31d6f4d36e2c3b95506e710b38538591146 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Thu, 22 Feb 2024 17:59:05 -0500 Subject: fix tunnel --- roles/webservers/files/levi/http.tunnel.simponic.xyz.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 roles/webservers/files/levi/http.tunnel.simponic.xyz.conf (limited to 'roles/webservers/files/levi/http.tunnel.simponic.xyz.conf') diff --git a/roles/webservers/files/levi/http.tunnel.simponic.xyz.conf b/roles/webservers/files/levi/http.tunnel.simponic.xyz.conf new file mode 100644 index 0000000..f4a94a3 --- /dev/null +++ b/roles/webservers/files/levi/http.tunnel.simponic.xyz.conf @@ -0,0 +1,13 @@ +server { + listen 80; + server_name tunnel.simponic.xyz; + + location /.well-known/acme-challenge { + root /var/www/letsencrypt; + try_files $uri $uri/ =404; + } + + location / { + rewrite ^ https://tunnel.simponic.xyz$request_uri? permanent; + } +} -- cgit v1.2.3-70-g09d2