nginx conf: Increase hash bucket size to allow multiple server names
This commit is contained in:
parent
e3fcb2ad14
commit
a809194ccc
|
@ -1,6 +1,7 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
cat << EOF > /etc/nginx/conf.d/default.conf
|
cat << EOF > /etc/nginx/conf.d/default.conf
|
||||||
|
server_names_hash_bucket_size 64;
|
||||||
server {
|
server {
|
||||||
root /opt/aptly/public;
|
root /opt/aptly/public;
|
||||||
server_name ${HOSTNAME};
|
server_name ${HOSTNAME};
|
||||||
|
|
Loading…
Reference in New Issue