Skip to content

Commit

Permalink
Merge pull request #126 from steveworley/issue-125-map-hash-config
Browse files Browse the repository at this point in the history
Add map hash configuration.
  • Loading branch information
Toby Bellwood committed Mar 25, 2021
2 parents 6de82d2 + 3bee6d5 commit 1df58be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ http {

uninitialized_variable_warn off;

map_hash_max_size ${NGINX_HASH_MAP_SIZE:-64};
map_hash_bucket_size ${NGINX_HASH_BUCKET_SIZE:-64};

map $host$uri $redirectdomain {
include /etc/nginx/redirects-map.conf;
}
Expand Down

0 comments on commit 1df58be

Please sign in to comment.