Fix nginx configuration that do not work with import-videos script

pull/322/head
Chocobozzz 2018-03-01 17:14:57 +01:00
parent f40411a62e
commit 4919b6304f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@
/videos/
/previews/
/logs/
/server/tools/import-mediacore.ts

View File

@ -26,7 +26,7 @@ server {
ssl_protocols TLSv1.2; # TLSv1.3, TLSv1.2 if nginx >= 1.13.0
ssl_prefer_server_ciphers on;
ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
ssl_ecdh_curve secp384r1; # Requires nginx >= 1.1.0
# ssl_ecdh_curve secp384r1; # Requires nginx >= 1.1.0, not compatible with import-videos script
ssl_session_timeout 10m;
ssl_session_cache shared:SSL:10m;
ssl_session_tickets off; # Requires nginx >= 1.5.9