changeset 1725:39af1c737191

use custom nginx conf for ssl
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 11 Aug 2022 12:34:29 +0200
parents 32c6b085bb83
children b5baa841ea1b
files host/startup/nginx/nginx.conf.luan host/startup/nginx/nginx.ssl.conf.luan
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/host/startup/nginx/nginx.conf.luan	Thu Aug 11 12:18:33 2022 +0200
+++ b/host/startup/nginx/nginx.conf.luan	Thu Aug 11 12:34:29 2022 +0200
@@ -26,6 +26,5 @@
 	}
 
 	include <%=rootDir%>/sites/*/nginx.ssl.conf;
-	include <%=rootDir%>/sites/*/src/nginx.custom.conf;
 }
 <%
--- a/host/startup/nginx/nginx.ssl.conf.luan	Thu Aug 11 12:18:33 2022 +0200
+++ b/host/startup/nginx/nginx.ssl.conf.luan	Thu Aug 11 12:34:29 2022 +0200
@@ -18,5 +18,6 @@
 		ssl_certificate <%=rootDir%>/sites/<%=domain%>/fullchain.cer;
 		ssl_certificate_key <%=rootDir%>/sites/<%=domain%>/<%=domain%>.key;
 		include <%=rootDir%>/local/nginx.default.conf;
+		<%=rootDir%>/sites/<%=domain%>/site/nginx.*.conf;
 	}
 <%