Browse Source

nginx conf: Increase hash bucket size to allow multiple server names

tags/v1.0
Jan Čapek 2 years ago
parent
commit
a809194ccc
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      assets/nginx.conf.sh

+ 1
- 0
assets/nginx.conf.sh View File

@@ -1,6 +1,7 @@
1 1
 #! /bin/bash
2 2
 
3 3
 cat << EOF > /etc/nginx/conf.d/default.conf
4
+server_names_hash_bucket_size 64;
4 5
 server {
5 6
   root /opt/aptly/public;
6 7
   server_name ${HOSTNAME};

Loading…
Cancel
Save