Mercurial Hosting > luan
comparison host/startup/nginx/nginx.ssl.conf.luan @ 2080:d7de1f976c1d ssltesting
use site/xyz/ssl/ for fullchain
| author | Violet7 |
|---|---|
| date | Tue, 09 Dec 2025 17:33:51 -0800 |
| parents | da85925fea9c |
| children |
comparison
equal
deleted
inserted
replaced
| 2079:d9d6d25e28c4 | 2080:d7de1f976c1d |
|---|---|
| 15 | 15 |
| 16 if ($host != $server_name) { | 16 if ($host != $server_name) { |
| 17 return 301 http://$http_host$request_uri; | 17 return 301 http://$http_host$request_uri; |
| 18 } | 18 } |
| 19 | 19 |
| 20 ssl_certificate <%=rootDir%>/sites/<%=domain%>/fullchain.cer; | 20 ssl_certificate <%=rootDir%>/sites/<%=domain%>/ssl/fullchain.cer; |
| 21 ssl_certificate_key <%=rootDir%>/sites/<%=domain%>/<%=domain%>.key; | 21 ssl_certificate_key <%=rootDir%>/sites/<%=domain%>/ssl/<%=domain%>.key; |
| 22 include <%=rootDir%>/sites/<%=domain%>/site/nginx.*.conf; | 22 include <%=rootDir%>/sites/<%=domain%>/site/nginx.*.conf; |
| 23 include <%=rootDir%>/local/nginx.default.conf; | 23 include <%=rootDir%>/local/nginx.default.conf; |
| 24 } | 24 } |
| 25 <% | 25 <% |
