From 2958fbae1bcfcf56708f224c15571b006aa23b3a Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 11 Feb 2021 11:56:30 +0100 Subject: Port nginx's configuration from integration to deployment --- app/jitsi/config/nginx.conf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'app') diff --git a/app/jitsi/config/nginx.conf b/app/jitsi/config/nginx.conf index b1e201f..aecf4ce 100644 --- a/app/jitsi/config/nginx.conf +++ b/app/jitsi/config/nginx.conf @@ -4,6 +4,36 @@ error_log /dev/stderr; events {} http { + ## + # Basic Settings + ## + sendfile on; + tcp_nopush on; + tcp_nodelay on; + keepalive_timeout 65; + types_hash_max_size 2048; + + + # mimetypes, required by jitsi! + include /etc/nginx/mime.types; + default_type application/octet-stream; + + types { + application/wasm wasm; + } + + ## + # SSL Settings + ## + + ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE + ssl_prefer_server_ciphers on; + + ## + # Gzip Settings + ## + gzip on; + access_log /dev/stdout; server_names_hash_bucket_size 64; -- cgit v1.2.3