aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/Server-configuration.html
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2015-09-04 21:25:47 +0200
committerVirtualTam <virtualtam@flibidi.net>2015-09-04 21:32:25 +0200
commitf8b936e7e75601b5d96525f25d5b52dbabd909b4 (patch)
tree8a6fcc4cd511aad9b1f24df32bdcfe810419172f /doc/Server-configuration.html
parentce8c4a84ba180802ca6e5f00f60353ad71d3fcc8 (diff)
downloadShaarli-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.html')
-rw-r--r--doc/Server-configuration.html8
1 files changed, 7 insertions, 1 deletions
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; }
36<li><a href="Home.html">Home</a></li> 36<li><a href="Home.html">Home</a></li>
37<li>Installation 37<li>Installation
38<ul> 38<ul>
39<li><a href="Download.html">Download</a></li>
39<li><a href="Server-requirements.html">Server requirements</a></li> 40<li><a href="Server-requirements.html">Server requirements</a></li>
40<li><a href="Server-configuration.html">Server configuration</a></li> 41<li><a href="Server-configuration.html">Server configuration</a></li>
41<li><a href="Shaarli-configuration.html">Shaarli configuration</a></li> 42<li><a href="Shaarli-configuration.html">Shaarli configuration</a></li>
@@ -279,10 +280,15 @@ location ~ ~$ {
279}</code></pre> 280}</code></pre>
280<pre class="nginx"><code># /etc/nginx/php.conf 281<pre class="nginx"><code># /etc/nginx/php.conf
281location ~ (index)\.php$ { 282location ~ (index)\.php$ {
282 # proxy PHP requests to PHP-FPM 283 # filter and proxy PHP requests to PHP-FPM
283 fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; 284 fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
284 fastcgi_index index.php; 285 fastcgi_index index.php;
285 include fastcgi.conf; 286 include fastcgi.conf;
287}
288
289location ~ \.php$ {
290 # deny access to all other PHP scripts
291 deny all;
286}</code></pre> 292}</code></pre>
287<pre class="nginx"><code># /etc/nginx/static_assets.conf 293<pre class="nginx"><code># /etc/nginx/static_assets.conf
288location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { 294location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {