comparison 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
comparison
equal deleted inserted replaced
2035:00bbfef1a86b 2036:2740f8a9ba3a
1 local rootDir, domain = ... 1 local rootDir, domain = ...
2 2
3 %> 3 %>
4 # This config exists to serve up acme challenges on 4 # This config exists to serve up acme challenges on
5 # .well-known for initial domain verification by letsencrypt. 5 # .well-known for initial domain verification by letsencrypt.
6 # see set_https in luan/src/luan/host/https.luan for more. 6 # see set_https in luan/src/luan/host/https.luan for more.
7 server { 7 server {
8 server_name <%=domain%>; 8 server_name <%=domain%>;
9 listen 80; 9 listen 80;
10 listen [::]:80; 10 listen [::]:80;
11 11
12 error_log <%=rootDir%>/error.log; 12 error_log <%=rootDir%>/error.log;
13 access_log <%=rootDir%>/access.log; 13 access_log <%=rootDir%>/access.log;
14 14
15 root <%=rootDir%>; 15 root <%=rootDir%>;
16 index index.html; 16 index index.html;
17 17
18 location / { 18 location / {
19 try_files $uri $uri/ =404; 19 try_files $uri $uri/ =404;
20 } 20 }
21 } 21 }
22 22
23 <% 23 <%
24 24