X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docs%2Fde%2Fuser%2Finstallation.rst;h=131aa1f8705495c8a70905ab8f42e81051bcc6d5;hb=2bc5b74c73f5eb792a9bf53c3f96a80b9eeca95a;hp=35a30f5240a6f960236198b1f19ca889a7bd51a1;hpb=99731f0bb1f6fd2815eeb9af504ce86df927657b;p=github%2Fwallabag%2Fwallabag.git diff --git a/docs/de/user/installation.rst b/docs/de/user/installation.rst index 35a30f52..131aa1f8 100644 --- a/docs/de/user/installation.rst +++ b/docs/de/user/installation.rst @@ -187,6 +187,12 @@ Angenommen du willst wallabag in das Verzeichnis ``/var/www/wallabag`` installie internal; } + # return 404 for all other php files not matching the front controller + # this prevents access to other php files you don't want to be accessible. + location ~ \.php$ { + return 404; + } + error_log /var/log/nginx/wallabag_error.log; access_log /var/log/nginx/wallabag_access.log; }