comparison host/startup/nginx/nginx.acme_setup.conf.luan @ 2080:d7de1f976c1d ssltesting

use site/xyz/ssl/ for fullchain
author Violet7
date Tue, 09 Dec 2025 17:33:51 -0800
parents 385ab09fb2ca
children
comparison
equal deleted inserted replaced
2079:d9d6d25e28c4 2080:d7de1f976c1d
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 # this directive should be included in a per-site
16 # nginx conf. this only exists for nginx.ssl.conf
17 # as far as I am aware. Currently, this will cause
18 # conflict with the server block defined in that
19 # file, so this file should be deleted when the
20 # initial setup is finished, and this directive
21 # should be added to that file instead.
15 location /.well-known/acme-challenge/ { 22 location /.well-known/acme-challenge/ {
16 root <%=rootDir%>; 23 root <%=rootDir%>;
17 try_files $uri $uri/ =404; 24 try_files $uri $uri/ =404;
18 } 25 }
19 26
20 include nginx.default.conf; 27 include nginx.default.conf;
21 28
22 } 29 }