浏览代码

Minor bumps and fixes

undefined
Gattes 1 个月前
父节点
当前提交
abab6cd41c
共有 3 个文件被更改,包括 6 次插入3 次删除
  1. 3
    3
      docker-compose.yaml
  2. 2
    0
      install.sh
  3. 1
    0
      killall.sh

+ 3
- 3
docker-compose.yaml 查看文件

31
       matrix_db:
31
       matrix_db:
32
   
32
   
33
   element:
33
   element:
34
-    image: vectorim/element-web:v1.11.65
34
+    image: vectorim/element-web:v1.11.95
35
     restart: unless-stopped
35
     restart: unless-stopped
36
     volumes:
36
     volumes:
37
       - ./config/element/element-config.json:/app/config.json
37
       - ./config/element/element-config.json:/app/config.json
51
       - synapse
51
       - synapse
52
 
52
 
53
   synapse-admin:
53
   synapse-admin:
54
-    image: awesometechnologies/synapse-admin:0.10.1
54
+    image: awesometechnologies/synapse-admin:0.10.3
55
     restart: unless-stopped
55
     restart: unless-stopped
56
     networks:
56
     networks:
57
       matrix_server:
57
       matrix_server:
60
       - synapse
60
       - synapse
61
 
61
 
62
   sliding-sync:
62
   sliding-sync:
63
-    image: ghcr.io/matrix-org/sliding-sync:v0.99.16
63
+    image: ghcr.io/matrix-org/sliding-sync:v0.99.19
64
     restart: always
64
     restart: always
65
     environment:
65
     environment:
66
       - SYNCV3_BINDADDR=:8008
66
       - SYNCV3_BINDADDR=:8008

+ 2
- 0
install.sh 查看文件

158
     # Hardening
158
     # Hardening
159
     add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
159
     add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
160
     add_header Content-Security-Policy "default-src 'self' ${DOMAIN} http: https: data: blob: 'unsafe-inline' 'unsafe-eval'" always;
160
     add_header Content-Security-Policy "default-src 'self' ${DOMAIN} http: https: data: blob: 'unsafe-inline' 'unsafe-eval'" always;
161
+    add_header X-XSS-Protection "1; mode=block";
162
+    add_header X-Content-Type-Options nosniff;
161
     add_header X-Frame-Options "SAMEORIGIN";
163
     add_header X-Frame-Options "SAMEORIGIN";
162
 
164
 
163
     location /.well-known/matrix/client {
165
     location /.well-known/matrix/client {

+ 1
- 0
killall.sh 查看文件

15
     docker system prune -a -f
15
     docker system prune -a -f
16
 
16
 
17
     echo "Removing packages"
17
     echo "Removing packages"
18
+    cd /tmp
18
     apt remove -y --purge pwgen nginx python3-certbot-nginx coturn* docker*
19
     apt remove -y --purge pwgen nginx python3-certbot-nginx coturn* docker*
19
     systemctl daemon-reload
20
     systemctl daemon-reload
20
 
21
 

正在加载...
取消
保存