From 36ccd48cfc77046b97a89aa9abbc81821e609309 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Fri, 3 Jul 2026 16:23:01 +0100 Subject: [PATCH] fix dollars in static.conf.template getting removed --- nginx/http.d/static.conf.template | 4 ++-- 1 file 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; }