aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2021-02-11 11:56:30 +0100
committerQuentin Dufour <quentin@dufour.io>2021-02-11 11:56:30 +0100
commit2958fbae1bcfcf56708f224c15571b006aa23b3a (patch)
tree8c72f79a7e1be1cbf260390508fd7ae1bb87c67b
parentc2d3c543b93506d12bb42ae16f934b1f29402e87 (diff)
downloadinfrastructure-2958fbae1bcfcf56708f224c15571b006aa23b3a.tar.gz
infrastructure-2958fbae1bcfcf56708f224c15571b006aa23b3a.zip
Port nginx's configuration from integration to deployment
-rw-r--r--app/jitsi/config/nginx.conf30
1 files changed, 30 insertions, 0 deletions
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;