Mise à jour de 'infra/apache.md'
This commit is contained in:
parent
337532c824
commit
ce87bc3ee2
1 changed files with 13 additions and 0 deletions
|
@ -1,5 +1,18 @@
|
|||
# Apache
|
||||
|
||||
## Configuration du logrotate
|
||||
|
||||
Convention d'un dossier de log par site web donc nécessité de personnaliser le logrotate :
|
||||
```
|
||||
/var/log/apache2/*.log
|
||||
/var/log/apache2/*/*log
|
||||
{
|
||||
monthly
|
||||
missingok
|
||||
rotate 6
|
||||
…
|
||||
```
|
||||
|
||||
## Prérequis
|
||||
|
||||
Activer le module `headers` :
|
||||
|
|
Loading…
Reference in a new issue