File tree Expand file tree Collapse file tree 2 files changed +8
-18
lines changed
admin-dashboard/rootfs/defaults Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,6 @@ charset utf8;
9
9
10
10
client_max_body_size 0;
11
11
12
- # Security headers
13
- add_header X-Content-Type-Options nosniff;
14
- add_header X-XSS-Protection "1; mode=block";
15
- add_header X-Frame-Options DENY;
16
-
17
12
location ~ ^/(.well-known)/(.*)$ {
18
13
alias /usr/src/dashboard/$1/$2;
19
14
}
@@ -42,10 +37,5 @@ limit_req zone=api burst={{ $RATE_LIMIT_BURST }} nodelay;
42
37
{{ end }}
43
38
44
39
location / {
45
- proxy_set_header Host $host;
46
- proxy_set_header X-Real-IP $remote_addr;
47
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
48
- proxy_set_header X-Forwarded-Proto $scheme;
49
-
50
40
proxy_pass http://dashboard:{{ $DASHBOARD_PORT }};
51
41
}
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ services:
4
4
restart : ${RESTART_POLICY:-unless-stopped}
5
5
volumes :
6
6
- ${CONFIG}/relayer/data:/data:Z
7
- - ${CONFIG}/relayer/home:/home/${RELAYER_USER:-relayer}:Z
8
- - ${CONFIG_PATH:-./config.yaml}:/home/${RELAYER_USER:-relayer}/config.yaml:Z
9
- - relay-socket:${SOCKET_DIR:-/var/run/relayer}:Z
7
+ - ${CONFIG}/relayer/home:/home/${RELAYER_USER:-relayer}
8
+ - ${CONFIG_PATH:-./config.yaml}:/home/${RELAYER_USER:-relayer}/config.yaml
9
+ - relay-socket:${SOCKET_DIR:-/var/run/relayer}
10
10
labels :
11
11
service : " centralized-relay"
12
12
healthcheck :
@@ -29,11 +29,11 @@ services:
29
29
- " ${HTTPS_PORT:-443}:443"
30
30
- " ${DASHBOARD_PORT:-3000}"
31
31
volumes :
32
- - ${CONFIG}/web:/config:Z
33
- - ${CONFIG}/web/crontabs:/var/spool/cron/crontabs:Z
34
- - ${CONFIG}/dashboard/cache:/usr/share/dashboard/.next/cache:Z
35
- - ${CONFIG}/dashboard/data:/data:Z
36
- - relay-socket:${SOCKET_DIR:-/var/run/relayer}:Z
32
+ - ${CONFIG}/web:/config
33
+ - ${CONFIG}/web/crontabs:/var/spool/cron/crontabs
34
+ - ${CONFIG}/dashboard/cache:/usr/share/dashboard/.next/cache
35
+ - ${CONFIG}/dashboard/data:/data
36
+ - relay-socket:${SOCKET_DIR:-/var/run/relayer}
37
37
- /proc:/host/proc:ro
38
38
- /sys:/host/sys:ro
39
39
healthcheck :
You can’t perform that action at this time.
0 commit comments