Mercurial Hosting > luan
diff host/startup/nginx/nginx.conf.luan @ 2126:c9b474306066
add previous fix to the default http block
| author | Violet7 |
|---|---|
| date | Wed, 14 Jan 2026 14:18:51 -0800 |
| parents | 1e247cd012ee |
| children | 6a2383baecb6 |
line wrap: on
line diff
--- a/host/startup/nginx/nginx.conf.luan Tue Jan 13 13:40:46 2026 -0800 +++ b/host/startup/nginx/nginx.conf.luan Wed Jan 14 14:18:51 2026 -0800 @@ -30,7 +30,7 @@ # $host/ssl does not exist for non-ssl sites and requests to here # will fail with 404 for those sites, which is what we want alias <%=rootDir%>/sites/$host/ssl/acme-challenge/; - autoindex on; + try_files $uri $uri/ =404; } }
