File tree Expand file tree Collapse file tree 3 files changed +35
-5
lines changed Expand file tree Collapse file tree 3 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 1
1
2
- [ v1.23.1 ] ( https://github.com/nextcloud/nextcloudpi/commit/317c2aa ) (2020-03-15) ncp-web: check for possibly missing index
2
+ [ v1.23.2 ] ( https://github.com/nextcloud/nextcloudpi/commit/0d9680d ) (2020-03-22) lamp: disable old TLS versions
3
3
4
- [ v1.23.0] ( https://github.com/nextcloud/nextcloudpi/commit/d108fad ) (2020-03-13) upgrade to NC18.0.2
4
+ [ v1.23.1] ( https://github.com/nextcloud/nextcloudpi/commit/84e6b4e ) (2020-03-15) ncp-web: check for possibly missing index
5
+
6
+ [ v1.23.0 ] ( https://github.com/nextcloud/nextcloudpi/commit/d108fad ) (2020-03-13) upgrade to NC18.0.2
5
7
6
8
[ v1.22.3 ] ( https://github.com/nextcloud/nextcloudpi/commit/c09dfd9 ) (2020-03-02) nc-snapshot-auto: read datadir location during execution
7
9
11
13
12
14
[ v1.22.0 ] ( https://github.com/nextcloud/nextcloudpi/commit/9304c86 ) (2020-03-03) Add nc-trusted-proxies (#1094 )
13
15
14
- [ v1.21.0] ( https://github.com/nextcloud/nextcloudpi/commit/4a51c1f ) (2020-02-28) upgrade to NC18.0.1
16
+ [ v1.21.0 ] ( https://github.com/nextcloud/nextcloudpi/commit/4a51c1f ) (2020-02-28) upgrade to NC18.0.1
15
17
16
18
[ v1.20.11] ( https://github.com/nextcloud/nextcloudpi/commit/f066b03 ) (2020-02-27) redis: make sure we have the right permissions for conf file
17
19
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ install()
50
50
# CONFIGURE APACHE
51
51
# #########################################
52
52
53
- cat > /etc/apache2/conf-available/http2.conf << EOF
53
+ cat > /etc/apache2/conf-available/http2.conf << EOF
54
54
Protocols h2 h2c http/1.1
55
55
56
56
# HTTP2 configuration
@@ -62,7 +62,7 @@ H2PushPriority image/png after 32
62
62
H2PushPriority application/javascript interleaved
63
63
64
64
# SSL/TLS Configuration
65
- SSLProtocol all -SSLv2 -SSLv3
65
+ SSLProtocol - all +TLSv1.2
66
66
SSLHonorCipherOrder on
67
67
SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
68
68
SSLCompression off
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+
5
+ # # BACKWARD FIXES ( for older images )
6
+
7
+ source /usr/local/etc/library.sh # sets NCVER PHPVER RELEASE
8
+
9
+ # all images
10
+
11
+ # disable old TLS versions
12
+ file=/etc/apache2/conf-available/http2.conf
13
+ grep -q ' ^SSLProtocol all -SSLv2 -SSLv3' " ${file} " && {
14
+ sed -i ' s|^SSLProtocol .*|SSLProtocol -all +TLSv1.2|' " ${file} "
15
+ bash -c " sleep 10 && service apache2 reload" & > /dev/null &
16
+ }
17
+
18
+ # docker images only
19
+ [[ -f /.docker-image ]] && {
20
+ :
21
+ }
22
+
23
+ # for non docker images
24
+ [[ ! -f /.docker-image ]] && {
25
+ :
26
+ }
27
+
28
+ exit 0
You can’t perform that action at this time.
0 commit comments