From 5e455c1499d4fba2d9bb825e4db8b58a3a6a595e Mon Sep 17 00:00:00 2001 From: Miraty Date: Fri, 3 Jun 2022 21:09:42 +0200 Subject: [PATCH] Update README --- README.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8dda181..c52e4bd 100755 --- a/README.md +++ b/README.md @@ -10,20 +10,22 @@ A LibreQR instance is available at . ### Generic -Just place this source code in a Web server with PHP. - -PHP extensions GD and iconv are required. - -LibreQR need writing rights on the `css/` directory. +Just place this source code in a Web server with PHP7.4+, extensions `gd`, `mbstring` and `iconv`, and writing rights on the `css/` directory. #### Security hardening +##### HTTP headers + Your HTTP server can reply the following headers: ``` Content-Security-Policy: default-src 'none'; img-src 'self' data:; style-src 'self'; frame-ancestors 'none'; form-action 'self'; Referrer-Policy: no-referrer ``` +##### PHP-FPM chroot + +LibreQR can be chrooted using PHP-FPM. + ### YunoHost There is [a package](https://code.antopie.org/miraty/qr_ynh/) for [YunoHost](https://yunohost.org/). @@ -44,11 +46,15 @@ You can customize your LibreQR instance look by changing the colors in `theme.ph ## Contribute -If you want to report a bug, you can open an issue at after creating an account (prefered method) or contact me in another way. +The public forge is . You can open issues and pull requests there. + +### Translations + +You can add your translations in `locales/.php`. ## Contact -If you want to contact me, for instance to report a bug or ask me a question about installing or using LibreQR, you can get my contact details on . +You can get my contact details on , feel free to use them if you want more informations about using or contributing to LibreQR. ## License