summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan ńĆapek <jan.capek@braiins.cz>2017-03-28 08:59:42 +0000
committerBryan <bryan@turbojets.net>2017-05-23 21:01:39 -0700
commita809194ccc21f3877184e9bcc4d9ae7c48b4793e (patch)
tree7bac7e507e18bc5317807d26475a182d11406259
parente3fcb2ad142a902540575b89dfc66ce44b09c447 (diff)
nginx conf: Increase hash bucket size to allow multiple server names
-rwxr-xr-xassets/nginx.conf.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/nginx.conf.sh b/assets/nginx.conf.sh
index 80886a9..70d822a 100755
--- a/assets/nginx.conf.sh
+++ b/assets/nginx.conf.sh
@@ -1,6 +1,7 @@
1#! /bin/bash 1#! /bin/bash
2 2
3cat << EOF > /etc/nginx/conf.d/default.conf 3cat << EOF > /etc/nginx/conf.d/default.conf
4server_names_hash_bucket_size 64;
4server { 5server {
5 root /opt/aptly/public; 6 root /opt/aptly/public;
6 server_name ${HOSTNAME}; 7 server_name ${HOSTNAME};