comparison host/startup/nginx/nginx.acme_setup.conf.luan @ 2062:5ede71739221

merge branches
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 15 Nov 2025 18:07:51 -0700
parents 2740f8a9ba3a
children
comparison
equal deleted inserted replaced
2047:ea026254b3b6 2062:5ede71739221
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