diff update_repositories.luan @ 12:c560b4e2f056

subdir for repos logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 28 Jul 2022 16:16:22 +0300
parents a7187a447835
children 50a1fe272c10
line wrap: on
line diff
--- a/update_repositories.luan	Thu Jul 28 16:10:05 2022 +0300
+++ b/update_repositories.luan	Thu Jul 28 16:16:22 2022 +0300
@@ -87,8 +87,8 @@
 		if ($request_method = POST ) {
 			set $auth "Restricted";
 		}
-		access_log  <%=logsdir%>/<%=repo.name%>_access_log;
-		error_log   <%=logsdir%>/<%=repo.name%>_error_log;
+		access_log  <%=logsdir%>/repos/<%=repo.name%>_access_log;
+		error_log   <%=logsdir%>/repos/<%=repo.name%>_error_log;
 <%	if repo.mode=="private" then %>
 		if ($request_method = GET ) {
 			set $auth "Restricted";