Mercurial Hosting > luan
comparison host/startup/nginx/nginx.acme_setup.conf.luan @ 2034:d718511fc69f acme-tiny
Begin work on moving to tiny-acme.
| author | Violet7 |
|---|---|
| date | Tue, 04 Nov 2025 20:28:50 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 2033:905a6ade55f2 | 2034:d718511fc69f |
|---|---|
| 1 local rootDir, domain = ... | |
| 2 | |
| 3 %> | |
| 4 # This config exists to serve up acme challenges on | |
| 5 # .well-known for initial domain verification by letsencrypt. | |
| 6 # see set_https in luan/src/luan/host/https.luan for more. | |
| 7 server { | |
| 8 server_name <%=domain%>; | |
| 9 listen 80; | |
| 10 listen [::]:80; | |
| 11 | |
| 12 error_log <%=rootDir%>/error.log; | |
| 13 access_log <%=rootDir%>/access.log; | |
| 14 | |
| 15 root <%=rootDir%>; | |
| 16 index index.html; | |
| 17 | |
| 18 location / { | |
| 19 try_files $uri $uri/ =404; | |
| 20 } | |
| 21 } | |
| 22 | |
| 23 <% | |
| 24 |
