diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-09-04 21:25:47 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-09-04 21:32:25 +0200 |
commit | f8b936e7e75601b5d96525f25d5b52dbabd909b4 (patch) | |
tree | 8a6fcc4cd511aad9b1f24df32bdcfe810419172f /doc/Server-configuration.md | |
parent | ce8c4a84ba180802ca6e5f00f60353ad71d3fcc8 (diff) | |
download | Shaarli-f8b936e7e75601b5d96525f25d5b52dbabd909b4.tar.gz Shaarli-f8b936e7e75601b5d96525f25d5b52dbabd909b4.tar.zst Shaarli-f8b936e7e75601b5d96525f25d5b52dbabd909b4.zip |
Doc: sync from Wiki, generate HTML
Additions:
- Installation/Download: how to get Shaarli
- Community software: ShaarliOS app
Modifications:
- Installation/Server requirements: PHP 5.4 EOL, PHP 7 announcements
- Installation/Server configuration: improve Nginx security
- Troubleshooting: PHP sessions on `free.fr`
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'doc/Server-configuration.md')
-rw-r--r-- | doc/Server-configuration.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/Server-configuration.md b/doc/Server-configuration.md index c9ec4e13..c7b17c5a 100644 --- a/doc/Server-configuration.md +++ b/doc/Server-configuration.md | |||
@@ -219,11 +219,16 @@ location ~ ~$ { | |||
219 | ```nginx | 219 | ```nginx |
220 | # /etc/nginx/php.conf | 220 | # /etc/nginx/php.conf |
221 | location ~ (index)\.php$ { | 221 | location ~ (index)\.php$ { |
222 | # proxy PHP requests to PHP-FPM | 222 | # filter and proxy PHP requests to PHP-FPM |
223 | fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; | 223 | fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; |
224 | fastcgi_index index.php; | 224 | fastcgi_index index.php; |
225 | include fastcgi.conf; | 225 | include fastcgi.conf; |
226 | } | 226 | } |
227 | |||
228 | location ~ \.php$ { | ||
229 | # deny access to all other PHP scripts | ||
230 | deny all; | ||
231 | } | ||
227 | ``` | 232 | ``` |
228 | 233 | ||
229 | ```nginx | 234 | ```nginx |