Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 2125:dd676a2b48cf | 2126:c9b474306066 |
|---|---|
| 28 | 28 |
| 29 location /.well-known/acme-challenge/ { | 29 location /.well-known/acme-challenge/ { |
| 30 # $host/ssl does not exist for non-ssl sites and requests to here | 30 # $host/ssl does not exist for non-ssl sites and requests to here |
| 31 # will fail with 404 for those sites, which is what we want | 31 # will fail with 404 for those sites, which is what we want |
| 32 alias <%=rootDir%>/sites/$host/ssl/acme-challenge/; | 32 alias <%=rootDir%>/sites/$host/ssl/acme-challenge/; |
| 33 autoindex on; | 33 try_files $uri $uri/ =404; |
| 34 } | 34 } |
| 35 } | 35 } |
| 36 | 36 |
| 37 # glob pattern returns no results for site dirs that don't have | 37 # glob pattern returns no results for site dirs that don't have |
| 38 # the ssl/ subdir, so this is ok | 38 # the ssl/ subdir, so this is ok |
