From 4db75446f359540f3044014da157d7aad2fc57de Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Thu, 5 Mar 2015 17:52:05 +0200 Subject: [PATCH] Do not edit /etc/nginx/nginx.conf file directly. --- debian/jitsi-meet.postinst | 4 ---- doc/debian/jitsi-meet/jitsi-meet.example | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/debian/jitsi-meet.postinst b/debian/jitsi-meet.postinst index f1a77a955..c6a373d87 100644 --- a/debian/jitsi-meet.postinst +++ b/debian/jitsi-meet.postinst @@ -37,10 +37,6 @@ case "$1" in sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /etc/nginx/sites-available/$JVB_HOSTNAME.conf fi - if grep "# server_names_hash_bucket_size 64" /etc/nginx/nginx.conf > /dev/null; then - sed -i "s/#\ server_names_hash_bucket_size\ 64/\ server_names_hash_bucket_size\ 64/" /etc/nginx/nginx.conf - fi - # SSL for nginx db_get jitsi-meet/cert-choice CERT_CHOICE="$RET" diff --git a/doc/debian/jitsi-meet/jitsi-meet.example b/doc/debian/jitsi-meet/jitsi-meet.example index f69499fb6..0ab36315d 100644 --- a/doc/debian/jitsi-meet/jitsi-meet.example +++ b/doc/debian/jitsi-meet/jitsi-meet.example @@ -1,3 +1,5 @@ +server_names_hash_bucket_size 64; + server { listen 80; server_name jitsi-meet.example.com;