Mercurial Hosting > hghosting
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:bbafc54bbd26 | 12:c560b4e2f056 |
---|---|
85 set $auth "off"; | 85 set $auth "off"; |
86 auth_basic_user_file <%=nginxauthdir%>/<%=repo.name%>.pass; | 86 auth_basic_user_file <%=nginxauthdir%>/<%=repo.name%>.pass; |
87 if ($request_method = POST ) { | 87 if ($request_method = POST ) { |
88 set $auth "Restricted"; | 88 set $auth "Restricted"; |
89 } | 89 } |
90 access_log <%=logsdir%>/<%=repo.name%>_access_log; | 90 access_log <%=logsdir%>/repos/<%=repo.name%>_access_log; |
91 error_log <%=logsdir%>/<%=repo.name%>_error_log; | 91 error_log <%=logsdir%>/repos/<%=repo.name%>_error_log; |
92 <% if repo.mode=="private" then %> | 92 <% if repo.mode=="private" then %> |
93 if ($request_method = GET ) { | 93 if ($request_method = GET ) { |
94 set $auth "Restricted"; | 94 set $auth "Restricted"; |
95 } | 95 } |
96 <% end %> | 96 <% end %> |