mirror of
https://github.com/mtan93/install-nextcloud.git
synced 2026-03-08 05:31:52 +00:00
Alignment to the main guide
Changes to /etc/nginx/nginx.conf and ssl.conf
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
############################################
|
################################################
|
||||||
# Carsten Rieger IT-Services
|
# Carsten Rieger IT-Services
|
||||||
# https://www.c-rieger.de
|
# https://www.c-rieger.de
|
||||||
# https://github.com/riegercloud
|
# https://github.com/riegercloud
|
||||||
# INSTALL-NEXTCLOUDARM64.SH
|
# INSTALL-NEXTCLOUDARM64.SH
|
||||||
# Version 4.1 ARM64
|
# Version 4.1 ARM64
|
||||||
# changes to /etc/nginx/header.conf
|
# changes to the /etc/nginx/nginx.conf+ssl.conf
|
||||||
# July, 27th, 2018
|
# August, 23rd, 2018
|
||||||
############################################
|
################################################
|
||||||
# Ubuntu 18.04 LTS ARM64 - Nextcloud 13.0.5
|
# Ubuntu 18.04 LTS ARM64 - Nextcloud 13.0.5
|
||||||
# ready for Nextcloud 14 already!
|
# ready for Nextcloud 14 already!
|
||||||
############################################
|
################################################
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
###global function to update and cleanup the environment
|
###global function to update and cleanup the environment
|
||||||
function update_and_clean() {
|
function update_and_clean() {
|
||||||
@@ -103,8 +103,8 @@ open_file_cache_errors on;
|
|||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
reset_timedout_connection on;
|
reset_timedout_connection on;
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
resolver 208.67.222.222;
|
resolver 208.67.222.222 valid=30s;
|
||||||
resolver_timeout 10s;
|
resolver_timeout 5s;
|
||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/*.conf;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
@@ -444,10 +444,10 @@ ssl_trusted_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
|
|||||||
ssl_session_timeout 1d;
|
ssl_session_timeout 1d;
|
||||||
ssl_session_cache shared:SSL:50m;
|
ssl_session_cache shared:SSL:50m;
|
||||||
ssl_session_tickets off;
|
ssl_session_tickets off;
|
||||||
ssl_protocols TLSv1.2 TLSv1.3;
|
ssl_protocols TLSv1.2;
|
||||||
ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK:!AES128';
|
ssl_ciphers 'ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384';
|
||||||
|
ssl_ecdh_curve secp521r1:secp384r1:prime256v1;
|
||||||
ssl_prefer_server_ciphers on;
|
ssl_prefer_server_ciphers on;
|
||||||
ssl_ecdh_curve secp384r1;
|
|
||||||
#ssl_stapling on;
|
#ssl_stapling on;
|
||||||
#ssl_stapling_verify on;
|
#ssl_stapling_verify on;
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user