summaryrefslogtreecommitdiff
path: root/roles/private/files/johan/http.ntfy.internal.simponic.xyz.conf
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-04-12 16:57:00 -0400
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-04-12 16:57:00 -0400
commitf9d62cc8a792b7b1a2c52a7d8102895473b3c72a (patch)
tree362f40d95af48512bc224e7490eff63e115b7689 /roles/private/files/johan/http.ntfy.internal.simponic.xyz.conf
parent64a2990c536b8a436279db9c576e75c6c1782546 (diff)
downloadoldinfra-f9d62cc8a792b7b1a2c52a7d8102895473b3c72a.tar.gz
oldinfra-f9d62cc8a792b7b1a2c52a7d8102895473b3c72a.zip
ntfy
Diffstat (limited to 'roles/private/files/johan/http.ntfy.internal.simponic.xyz.conf')
-rw-r--r--roles/private/files/johan/http.ntfy.internal.simponic.xyz.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/private/files/johan/http.ntfy.internal.simponic.xyz.conf b/roles/private/files/johan/http.ntfy.internal.simponic.xyz.conf
new file mode 100644
index 0000000..cdc7839
--- /dev/null
+++ b/roles/private/files/johan/http.ntfy.internal.simponic.xyz.conf
@@ -0,0 +1,13 @@
+server {
+ listen 80;
+ server_name ntfy.internal.simponic.xyz;
+
+ location /.well-known/acme-challenge {
+ root /var/www/letsencrypt;
+ try_files $uri $uri/ =404;
+ }
+
+ location / {
+ rewrite ^ https://ntfy.internal.simponic.xyz$request_uri? permanent;
+ }
+}