Mercurial Hosting > luan
diff host/startup/nginx/nginx.acme_setup.conf.luan @ 2036:2740f8a9ba3a acme-tiny tip
First test prototype (also convert spaces to tabs and remove *.orig files)
| author | Violet7 |
|---|---|
| date | Wed, 05 Nov 2025 21:49:39 -0800 |
| parents | d718511fc69f |
| children |
line wrap: on
line diff
--- a/host/startup/nginx/nginx.acme_setup.conf.luan Wed Nov 05 11:20:47 2025 -0700 +++ b/host/startup/nginx/nginx.acme_setup.conf.luan Wed Nov 05 21:49:39 2025 -0800 @@ -1,24 +1,24 @@ local rootDir, domain = ... %> - # This config exists to serve up acme challenges on - # .well-known for initial domain verification by letsencrypt. - # see set_https in luan/src/luan/host/https.luan for more. - server { - server_name <%=domain%>; - listen 80; - listen [::]:80; + # This config exists to serve up acme challenges on + # .well-known for initial domain verification by letsencrypt. + # see set_https in luan/src/luan/host/https.luan for more. + server { + server_name <%=domain%>; + listen 80; + listen [::]:80; - error_log <%=rootDir%>/error.log; - access_log <%=rootDir%>/access.log; + error_log <%=rootDir%>/error.log; + access_log <%=rootDir%>/access.log; - root <%=rootDir%>; - index index.html; + root <%=rootDir%>; + index index.html; - location / { - try_files $uri $uri/ =404; - } - } + location / { + try_files $uri $uri/ =404; + } + } <%
