1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Add max upload limit documentation

This commit is contained in:
lapineige 2022-11-10 16:50:40 +01:00 committed by GitHub
parent 5f14f17053
commit f7ce9db23b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,14 @@ Les inscriptions sont ouvertes par défaut.
Pour modifier ce paramètre, modifiez `/var/www/pixelfed/.env` et définissez `OPEN_REGISTRATION=false` au lieu de `true`.
Ensuite, exécutez `php7.4 artisan config:cache` pour recharger les paramètres.
### Changer la taille limite maximale de téléversement
Pour changer la limite maximale de téléversement (par défaut : 50Mo), éditer le fichier `php-fpm.conf` de Pixelfed et après la ligne `Common values to change to increase file upload limit` ajuster ces valeurs:
```
php_admin_value[post_max_size] = 50M
php_admin_value[upload_max_filesize] = 50M
```
### Désactiver l'indexation des moteurs de recherche
Si vous ne voulez pas que votre instance Pixelfed soit indexée dans le moteur de recherche (et ainsi de suite), modifiez `/var/www/pixelfed/public/robots.txt` comme ceci :