Skip to content

Commit

Permalink
#88 Add default server_names_hash_bucket_size
Browse files Browse the repository at this point in the history
  • Loading branch information
Fran Tsao committed Feb 24, 2021
1 parent 997534c commit 3c670e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).

## [Unreleased](https://github.com/idealista/nginx_role/tree/develop)
### Added
- *[#88](https://github.com/idealista/nginx_role/issues/88) Add default server_names_hash_bucket_size* @ftsao

[Full Changelog](https://github.com/idealista/nginx_role/compare/3.3.0...3.4.0)
## [3.4.0](https://github.com/idealista/nginx_role/tree/3.4.0) (2020-12-21)
### Added
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ nginx_metrics_templates_path: metrics # "{{ playbook_dir }}/templates/metrics"
## Miscellaneous
# Set true to force the download and installation of the package
nginx_force_reinstall: false

nginx_server_names_hash_bucket_size: 64
luajit_required_libs:
- build-essential

Expand Down
1 change: 1 addition & 0 deletions templates/nginx/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ http {
open_file_cache_valid 30s;
open_file_cache_min_uses 2;
open_file_cache_errors on;
server_names_hash_bucket_size {{ nginx_server_names_hash_bucket_size };

client_max_body_size {{ nginx_client_max_body_size }};

Expand Down

0 comments on commit 3c670e5

Please sign in to comment.