Mercurial Hosting > luan
diff host/startup/nginx/nginx.default.conf.luan @ 2037:a4435e2e3417 acme-tiny
Edit scripts to use acme-tiny
| author | Violet7 |
|---|---|
| date | Sat, 08 Nov 2025 04:29:49 -0800 |
| parents | 2b5eccebddd9 |
| children |
line wrap: on
line diff
--- a/host/startup/nginx/nginx.default.conf.luan Wed Nov 05 21:49:39 2025 -0800 +++ b/host/startup/nginx/nginx.default.conf.luan Sat Nov 08 04:29:49 2025 -0800 @@ -1,4 +1,4 @@ -local rootDir, leKey = ... +local rootDir = ... %> client_max_body_size 32m; @@ -14,11 +14,6 @@ charset utf-8; - location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" { - default_type text/plain; - return 200 "$1.<%=leKey%>"; - } - location ~ /(?<path>.*) { chunked_transfer_encoding off; proxy_cache_key $scheme$host$request_uri;
