Commit c27493e9c2513339f54187960c34491b3b792233
1 parent
ce1e7c03
Exists in
master
and in
3 other branches
Add NGINX ssl_timeout parameter
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/attributes/default.rb
... | ... | @@ -250,6 +250,7 @@ default['gitlab']['nginx']['ssl_ciphers'] = "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-R |
250 | 250 | default['gitlab']['nginx']['ssl_prefer_server_ciphers'] = "on" |
251 | 251 | default['gitlab']['nginx']['ssl_protocols'] = "TLSv1 TLSv1.1 TLSv1.2" # recommended by https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html |
252 | 252 | default['gitlab']['nginx']['ssl_session_cache'] = "shared:SSL:10m" # recommended in http://nginx.org/en/docs/http/ngx_http_ssl_module.html |
253 | +default['gitlab']['nginx']['ssl_timeout'] = "5m" # default according to http://nginx.org/en/docs/http/ngx_http_ssl_module.html | |
253 | 254 | default['gitlab']['nginx']['listen_address'] = '*' |
254 | 255 | |
255 | 256 | ### | ... | ... |
files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb
... | ... | @@ -48,6 +48,7 @@ server { |
48 | 48 | ssl_prefer_server_ciphers <%= @ssl_prefer_server_ciphers %>; |
49 | 49 | ssl_protocols <%= @ssl_protocols %>; |
50 | 50 | ssl_session_cache <%= @ssl_session_cache %>; |
51 | + ssl_timeout <%= @ssl_timeout %>; | |
51 | 52 | <% end %> |
52 | 53 | |
53 | 54 | # Increase this if you want to upload large attachments | ... | ... |