Mercurial Hosting > luan
comparison host/startup/nginx/nginx.ssl.conf.luan @ 2085:c35179c79298 ssltesting
alias <%=rootDir%>/sites/$host/acme-challenge/
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 10 Dec 2025 11:44:41 -0700 |
| parents | d7de1f976c1d |
| children | 639441abad7b |
comparison
equal
deleted
inserted
replaced
| 2084:9e0d28433e25 | 2085:c35179c79298 |
|---|---|
| 3 %> | 3 %> |
| 4 server { | 4 server { |
| 5 server_name <%=domain%>; | 5 server_name <%=domain%>; |
| 6 listen 80; | 6 listen 80; |
| 7 listen [::]:80; | 7 listen [::]:80; |
| 8 return 301 https://$http_host$request_uri; | 8 |
| 9 location / { | |
| 10 return 301 https://$http_host$request_uri; | |
| 11 } | |
| 12 | |
| 13 location /.well-known/acme-challenge/ { | |
| 14 alias <%=rootDir%>/sites/$host/acme-challenge/; | |
| 15 autoindex on; | |
| 16 } | |
| 9 } | 17 } |
| 10 | 18 |
| 11 server { | 19 server { |
| 12 server_name <%=domain%>; | 20 server_name <%=domain%>; |
| 13 listen 443 ssl; | 21 listen 443 ssl; |
