X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2Fmd%2FServer-configuration.md;h=f9ea2ed2145801f79c99819750f06b700b7876c8;hb=6128ab6a55430a2b705be31ff417c0c552a0db1f;hp=4753df1d5fa817cb02a714423b962b5cce531703;hpb=899d041137b949a8ff3e901508f8979b90ee93f5;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/md/Server-configuration.md b/doc/md/Server-configuration.md index 4753df1d..f9ea2ed2 100644 --- a/doc/md/Server-configuration.md +++ b/doc/md/Server-configuration.md @@ -28,12 +28,12 @@ Version | Status | Shaarli compatibility Extension | Required? | Usage ---|:---:|--- [`openssl`](http://php.net/manual/en/book.openssl.php) | All | OpenSSL, HTTPS +[`php-json`](http://php.net/manual/en/book.json.php) | required | configuration parsing [`php-mbstring`](http://php.net/manual/en/book.mbstring.php) | CentOS, Fedora, RHEL, Windows, some hosting providers | multibyte (Unicode) string support [`php-gd`](http://php.net/manual/en/book.image.php) | optional | required to use thumbnails [`php-intl`](http://php.net/manual/en/book.intl.php) | optional | localized text sorting (e.g. `e->è->f`) [`php-curl`](http://php.net/manual/en/book.curl.php) | optional | using cURL for fetching webpages and thumbnails in a more robust way [`php-gettext`](http://php.net/manual/en/book.gettext.php) | optional | Use the translation system in gettext mode (faster) - -------------------------------------------------------------------------------- ### SSL/TLS configuration @@ -187,7 +187,7 @@ http { ``` ```ini -# /etc/php5/fpm/php.ini +# /etc/php//fpm/php.ini [...] post_max_size = 10M @@ -404,6 +404,8 @@ If Shaarli is served behind a proxy (i.e. there is a proxy server between client - `X-Forwarded-Host` - `X-Forwarded-For` +In you [Shaarli configuration](Shaarli-configuration) `data/config.json.php`, add the public IP of your proxy under `security.trusted_proxies`. + See also [proxy-related](https://github.com/shaarli/Shaarli/issues?utf8=%E2%9C%93&q=label%3Aproxy+) issues. ## Robots and crawlers