Mercurial Hosting > luan
view host/startup/nginx/nginx.acme_setup.conf.luan @ 2076:385ab09fb2ca ssltesting
initial draft
| author | Violet7 |
|---|---|
| date | Tue, 09 Dec 2025 16:37:56 -0800 |
| parents | 2740f8a9ba3a |
| children | d7de1f976c1d |
line wrap: on
line source
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; error_log <%=rootDir%>/error.log; access_log <%=rootDir%>/access.log; location /.well-known/acme-challenge/ { root <%=rootDir%>; try_files $uri $uri/ =404; } include nginx.default.conf; } <%
