diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-11-14 14:00:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-14 14:00:24 +0100 |
commit | 64d080586d6817dbb22ed844908f58987c1a60e3 (patch) | |
tree | c31af9885ed36fa7336be535a38e60cc2aff556b /docs/fr/user | |
parent | d3511bbde9743995e7ee7eec74b20b9b7b1b56ca (diff) | |
parent | ccad5d7629acec38bcc36a8ea6e6cfe8ef4f1f02 (diff) | |
download | wallabag-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/fr/user')
-rw-r--r-- | docs/fr/user/installation.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/fr/user/installation.rst b/docs/fr/user/installation.rst index 4f94d6c8..f6afcda6 100644 --- a/docs/fr/user/installation.rst +++ b/docs/fr/user/installation.rst | |||
@@ -183,6 +183,12 @@ En imaginant que vous vouliez installer wallabag dans le dossier ``/var/www/wall | |||
183 | internal; | 183 | internal; |
184 | } | 184 | } |
185 | 185 | ||
186 | # return 404 for all other php files not matching the front controller | ||
187 | # this prevents access to other php files you don't want to be accessible. | ||
188 | location ~ \.php$ { | ||
189 | return 404; | ||
190 | } | ||
191 | |||
186 | error_log /var/log/nginx/wallabag_error.log; | 192 | error_log /var/log/nginx/wallabag_error.log; |
187 | access_log /var/log/nginx/wallabag_access.log; | 193 | access_log /var/log/nginx/wallabag_access.log; |
188 | } | 194 | } |