Mercurial Hosting > luan
comparison host/startup/nginx/nginx.acme_setup.conf.luan @ 2083:39d4215259ec ssltesting
tabs instead of spaces
| author | Violet7 |
|---|---|
| date | Tue, 09 Dec 2025 22:12:51 -0800 |
| parents | d7de1f976c1d |
| children |
comparison
equal
deleted
inserted
replaced
| 2082:cdc9a31c6f71 | 2083:39d4215259ec |
|---|---|
| 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 | 15 # this directive should be included in a per-site |
| 16 # nginx conf. this only exists for nginx.ssl.conf | 16 # nginx conf. this only exists for nginx.ssl.conf |
| 17 # as far as I am aware. Currently, this will cause | 17 # as far as I am aware. Currently, this will cause |
| 18 # conflict with the server block defined in that | 18 # conflict with the server block defined in that |
| 19 # file, so this file should be deleted when the | 19 # file, so this file should be deleted when the |
| 20 # initial setup is finished, and this directive | 20 # initial setup is finished, and this directive |
| 21 # should be added to that file instead. | 21 # should be added to that file instead. |
| 22 location /.well-known/acme-challenge/ { | 22 location /.well-known/acme-challenge/ { |
| 23 root <%=rootDir%>; | 23 root <%=rootDir%>; |
| 24 try_files $uri $uri/ =404; | 24 try_files $uri $uri/ =404; |
| 25 } | 25 } |
| 26 | 26 |
| 27 include nginx.default.conf; | 27 include nginx.default.conf; |
| 28 | 28 |
| 29 } | 29 } |
| 30 | 30 |
| 31 <% | 31 <% |
| 32 | 32 |
