Skip to content

Commit

Permalink
Merge pull request #79 from cloud-gov/bb/nginx-tuning
Browse files Browse the repository at this point in the history
more workers, more connections per worker
  • Loading branch information
soutenniza authored Apr 12, 2024
2 parents 013e9ea + 5cf97f2 commit 3fc0d10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jobs/secureproxy/templates/config/nginx.conf.erb
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
user vcap vcap;
worker_processes 2;
worker_processes 4;

error_log /var/vcap/sys/log/secureproxy/secureproxy.error.log notice;
pid /var/vcap/sys/run/secureproxy/secureproxy.pid;

worker_rlimit_nofile 40000;

events {
worker_connections 8096;
worker_connections 16383;
multi_accept on;
use epoll;
}
<%
<%
csp_header = 'content-security-policy'
csp_header_ref = 'upstream_http_content_security_policy'
report_only = p('secureproxy.csp.report_only')
Expand Down

0 comments on commit 3fc0d10

Please sign in to comment.