Skip to content

Commit

Permalink
add file size to clamav-nginx (#2760)
Browse files Browse the repository at this point in the history
  • Loading branch information
raftmsohani authored Nov 29, 2023
1 parent 0b62241 commit eac7e50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tdrs-backend/clamav-router/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ events { worker_connections 1024;
http{
server {
listen {{port}};
client_max_body_size 100m;
location /scan {
proxy_pass http://tanf-prod-clamav-rest.apps.internal:9000/scan;
proxy_pass_request_headers on;
}
}
server {
listen 9000;
client_max_body_size 100m;
location /scan {
proxy_pass http://tanf-prod-clamav-rest.apps.internal:9000/scan;
proxy_pass_request_headers on;
Expand Down

0 comments on commit eac7e50

Please sign in to comment.