aboutsummaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-06-27 11:57:45 +0900
committerjaseg <code@jaseg.net>2019-06-27 11:57:45 +0900
commit54944fcd3d8e480d57b389a6518db4952e89f49e (patch)
tree9cc5cc7397ca239a33edf9be52d1313a70f5d93e /nginx.conf
parent297cfc071e2d3e68dd137139db2c0a2c48611443 (diff)
downloadinfra-54944fcd3d8e480d57b389a6518db4952e89f49e.tar.gz
infra-54944fcd3d8e480d57b389a6518db4952e89f49e.tar.bz2
infra-54944fcd3d8e480d57b389a6518db4952e89f49e.zip
Limit logging of secure download requests
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf
index 1f44981..b6f13c0 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -118,6 +118,8 @@ http {
}
location /d/ {
+ access_log off;
+ log_not_found off;
rewrite ^/d/(.*)$ /$1 break;
include uwsgi_params;
uwsgi_pass unix:/run/uwsgi/secure-download.socket;