summaryrefslogtreecommitdiff
path: root/roles/webservers/files/levi/http.tunnel.simponic.xyz.conf
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-02-22 17:59:05 -0500
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-02-22 17:59:05 -0500
commit6ba0d31d6f4d36e2c3b95506e710b38538591146 (patch)
treeccd8715b14ada882822f1becdd1751bea71a270e /roles/webservers/files/levi/http.tunnel.simponic.xyz.conf
parent30c3451002aad53a0ac237e228fe0c530e14c996 (diff)
downloadoldinfra-6ba0d31d6f4d36e2c3b95506e710b38538591146.tar.gz
oldinfra-6ba0d31d6f4d36e2c3b95506e710b38538591146.zip
fix tunnel
Diffstat (limited to 'roles/webservers/files/levi/http.tunnel.simponic.xyz.conf')
-rw-r--r--roles/webservers/files/levi/http.tunnel.simponic.xyz.conf13
1 files changed, 13 insertions, 0 deletions
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;
+ }
+}