From f8b936e7e75601b5d96525f25d5b52dbabd909b4 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Fri, 4 Sep 2015 21:25:47 +0200 Subject: 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 --- doc/Server-configuration.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/Server-configuration.html') diff --git a/doc/Server-configuration.html b/doc/Server-configuration.html index e4e383a3..3aa89722 100644 --- a/doc/Server-configuration.html +++ b/doc/Server-configuration.html @@ -36,6 +36,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • Home
  • Installation
      +
    • Download
    • Server requirements
    • Server configuration
    • Shaarli configuration
    • @@ -279,10 +280,15 @@ location ~ ~$ { }
      # /etc/nginx/php.conf
       location ~ (index)\.php$ {
      -    # proxy PHP requests to PHP-FPM
      +    # filter and proxy PHP requests to PHP-FPM
           fastcgi_pass   unix:/var/run/php-fpm/php-fpm.sock;
           fastcgi_index  index.php;
           include        fastcgi.conf;
      +}
      +
      +location ~ \.php$ {
      +    # deny access to all other PHP scripts
      +    deny all;
       }
      # /etc/nginx/static_assets.conf
       location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
      -- 
      cgit v1.2.3