summaryrefslogtreecommitdiff
path: root/nginx/http.d/static.conf.template
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-03 16:23:01 +0100
committerJoe Carstairs <me@joeac.net>2026-07-03 16:23:01 +0100
commit36ccd48cfc77046b97a89aa9abbc81821e609309 (patch)
tree31927a6f616957050b5569bbaa5bc577c290b1ab /nginx/http.d/static.conf.template
parent61f2b376ee42502f83aa81f7148a6ec3820dc6f3 (diff)
fix dollars in static.conf.template getting removed
Diffstat (limited to 'nginx/http.d/static.conf.template')
-rw-r--r--nginx/http.d/static.conf.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/http.d/static.conf.template b/nginx/http.d/static.conf.template
index faf5874..a25d94f 100644
--- a/nginx/http.d/static.conf.template
+++ b/nginx/http.d/static.conf.template
@@ -2,7 +2,7 @@ server {
server_name ${DOMAIN};
location / {
root ${ROOT};
- try_files $uri $uri.html $uri/index.html =404;
+ try_files $$uri $$uri.html $$uri/index.html =404;
error_page 404 /index.html;
}
listen 443 ssl;
@@ -18,5 +18,5 @@ server {
} # managed by Certbot
server_name ln.joeac.net;
listen 80;
- return 404; # managed by Certbot
+ return 404;
}