aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/en
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-11-14 14:00:24 +0100
committerGitHub <noreply@github.com>2016-11-14 14:00:24 +0100
commit64d080586d6817dbb22ed844908f58987c1a60e3 (patch)
treec31af9885ed36fa7336be535a38e60cc2aff556b /docs/en
parentd3511bbde9743995e7ee7eec74b20b9b7b1b56ca (diff)
parentccad5d7629acec38bcc36a8ea6e6cfe8ef4f1f02 (diff)
downloadwallabag-64d080586d6817dbb22ed844908f58987c1a60e3.tar.gz
wallabag-64d080586d6817dbb22ed844908f58987c1a60e3.tar.zst
wallabag-64d080586d6817dbb22ed844908f58987c1a60e3.zip
Merge pull request #2584 from blankoworld/master
fix #2582 - Documentation, Nginx config: disable all other PHP file from symphony
Diffstat (limited to 'docs/en')
-rw-r--r--docs/en/user/installation.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/en/user/installation.rst b/docs/en/user/installation.rst
index 45e14616..77ef60a8 100644
--- a/docs/en/user/installation.rst
+++ b/docs/en/user/installation.rst
@@ -186,6 +186,12 @@ Assuming you installed wallabag in the ``/var/www/wallabag`` folder, here's the
186 internal; 186 internal;
187 } 187 }
188 188
189 # return 404 for all other php files not matching the front controller
190 # this prevents access to other php files you don't want to be accessible.
191 location ~ \.php$ {
192 return 404;
193 }
194
189 error_log /var/log/nginx/wallabag_error.log; 195 error_log /var/log/nginx/wallabag_error.log;
190 access_log /var/log/nginx/wallabag_access.log; 196 access_log /var/log/nginx/wallabag_access.log;
191 } 197 }