From f9d62cc8a792b7b1a2c52a7d8102895473b3c72a Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Fri, 12 Apr 2024 16:57:00 -0400 Subject: ntfy --- .../files/levi/http.ntfy.simponic.hatecomputers.club.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 roles/webservers/files/levi/http.ntfy.simponic.hatecomputers.club.conf (limited to 'roles/webservers/files/levi/http.ntfy.simponic.hatecomputers.club.conf') diff --git a/roles/webservers/files/levi/http.ntfy.simponic.hatecomputers.club.conf b/roles/webservers/files/levi/http.ntfy.simponic.hatecomputers.club.conf new file mode 100644 index 0000000..0306736 --- /dev/null +++ b/roles/webservers/files/levi/http.ntfy.simponic.hatecomputers.club.conf @@ -0,0 +1,13 @@ +server { + listen 80; + server_name ntfy.simponic.hatecomputers.club; + + location /.well-known/acme-challenge { + root /var/www/letsencrypt; + try_files $uri $uri/ =404; + } + + location / { + rewrite ^ https://ntfy.simponic.hatecomputers.club$request_uri? permanent; + } +} -- cgit v1.2.3-70-g09d2