Mercurial Hosting > luan
view host/startup/nginx/nginx.ssl.conf.luan @ 1704:19df8abc9805
add Table.is_list
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 01 Jul 2022 15:53:03 -0600 |
parents | 0344a535b1db |
children | 39af1c737191 |
line wrap: on
line source
local rootDir, domain = ... %> server { server_name <%=domain%>; listen 80; return 301 https://$http_host$request_uri; } server { server_name <%=domain%>; listen 443 ssl; if ($host != $server_name) { return 301 http://$http_host$request_uri; } ssl_certificate <%=rootDir%>/sites/<%=domain%>/fullchain.cer; ssl_certificate_key <%=rootDir%>/sites/<%=domain%>/<%=domain%>.key; include <%=rootDir%>/local/nginx.default.conf; } <%