Skip to content

Commit

Permalink
Merge pull request #4238 from KwadroNaut/landingpage
Browse files Browse the repository at this point in the history
Broaden apache snippet to disable logging on landing page
  • Loading branch information
heartsucker authored Mar 11, 2019
2 parents 3e6b0ad + 410ed3b commit 043f63a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/deployment/landing_page.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ that includes a file integrity monitor. More information can be found
**Don't log access to the *Landing Page* in the webserver**

Here's an Apache example that would exclude the *Landing Page* from
logging:
logging. However you still need to make sure no other assets get logged!

::

SetEnvIf Request_URI "^/securedrop$" dontlog
SetEnvIf Request_URI "^/securedrop($|(\/.*))" dontlog
CustomLog logs/access_log common env=!dontlog

In nginx, logging can be disabled like so:
Expand Down

0 comments on commit 043f63a

Please sign in to comment.