diff options
| author | Joe Carstairs <me@joeac.net> | 2026-07-03 16:23:01 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-07-03 16:23:01 +0100 |
| commit | 36ccd48cfc77046b97a89aa9abbc81821e609309 (patch) | |
| tree | 31927a6f616957050b5569bbaa5bc577c290b1ab /nginx/http.d | |
| parent | 61f2b376ee42502f83aa81f7148a6ec3820dc6f3 (diff) | |
fix dollars in static.conf.template getting removed
Diffstat (limited to 'nginx/http.d')
| -rw-r--r-- | nginx/http.d/static.conf.template | 4 |
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; } |
