Skip to content

Commit 7f1bf66

Browse files
committed
criada pasta de tarefas cli com analisador de logs
1 parent b66f3ab commit 7f1bf66

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
vendor/
22
composer.lock
33
.env
4-
app/logs/*.log
5-
app/cache/*.html
6-
app/cache/*.gz
4+
app/logs
5+
app/cache
76
TODO.md
87

98
# Created by https://www.toptal.com/developers/gitignore/api/composer,windows,macos,linux
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727

2828
// Caminho para o arquivo de log
29-
$logFile = __DIR__ . '/error.log';
29+
$logFile = __DIR__ . '/../logs/error.log';
3030

3131
// Verifica se o arquivo de log existe
3232
if (!file_exists($logFile)) {

default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ server {
1212
add_header X-XSS-Protection "1; mode=block" always;
1313
add_header X-Content-Type-Options "nosniff" always;
1414

15-
location ~ ^/(logs|cache|inc|data)/ {
15+
location ~ ^/(logs|cache|inc|data|cli)/ {
1616
return 301 /;
1717
}
1818

0 commit comments

Comments
 (0)