Skip to content

Commit

Permalink
more configs
Browse files Browse the repository at this point in the history
  • Loading branch information
riteshvaryani committed Jul 10, 2024
1 parent e11ede0 commit 36fe69b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ private void setupContext(ProxyServerConfiguration config) {
httpsConfig.setSecureScheme(HttpScheme.HTTPS.asString());
httpsConfig.setSecurePort(config.getLocalPort());
httpsConfig.setOutputBufferSize(32768);
httpsConfig.setRequestHeaderSize(2048000);
httpsConfig.setResponseHeaderSize(2048000);

SecureRequestCustomizer src = new SecureRequestCustomizer();
src.setStsMaxAge(TimeUnit.SECONDS.toSeconds(2000));
Expand Down

0 comments on commit 36fe69b

Please sign in to comment.