Limit logging of secure download requests
This commit is contained in:
parent
297cfc071e
commit
54944fcd3d
2 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ master = True
|
|||
cheap = True
|
||||
die-on-idle = False
|
||||
manage-script-name = True
|
||||
log-format = [pid: %(pid)|app: -|req: -/-] %(addr) (%(user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) [URI hidden] => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core))
|
||||
plugins = python3
|
||||
chdir = /var/lib/secure_download
|
||||
mount = /=server:app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue