Port nginx's configuration from integration to deployment

This commit is contained in:
Quentin 2021-02-11 11:56:30 +01:00
parent c2d3c543b9
commit 2958fbae1b
1 changed files with 30 additions and 0 deletions

View File

@ -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;