summaryrefslogtreecommitdiff
path: root/roles/webservers/files/levi/http.static.simponic.xyz.conf
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-12 21:26:09 -0500
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-12 21:26:09 -0500
commit4a123b6f4a2ece850175cc4402fc30326ae17075 (patch)
treeff80a0dff85a5ba53f977da8014da13adeffd351 /roles/webservers/files/levi/http.static.simponic.xyz.conf
parent0bfb4a99cd606144244a3f07913997ecab4971bc (diff)
downloadoldinfra-4a123b6f4a2ece850175cc4402fc30326ae17075.tar.gz
oldinfra-4a123b6f4a2ece850175cc4402fc30326ae17075.zip
add static site
Diffstat (limited to 'roles/webservers/files/levi/http.static.simponic.xyz.conf')
-rw-r--r--roles/webservers/files/levi/http.static.simponic.xyz.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/webservers/files/levi/http.static.simponic.xyz.conf b/roles/webservers/files/levi/http.static.simponic.xyz.conf
new file mode 100644
index 0000000..89b725f
--- /dev/null
+++ b/roles/webservers/files/levi/http.static.simponic.xyz.conf
@@ -0,0 +1,13 @@
+server {
+ listen 80;
+ server_name static.simponic.xyz;
+
+ location /.well-known/acme-challenge {
+ root /var/www/letsencrypt;
+ try_files $uri $uri/ =404;
+ }
+
+ location / {
+ rewrite ^ https://static.simponic.xyz$request_uri? permanent;
+ }
+}