-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCaddyfile
46 lines (39 loc) · 968 Bytes
/
Caddyfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
https://blog.swrlab.org {
proxy / ghost:2368 {
transparent
}
}
https://cloud.swrlab.org {
# Enable basic compression
gzip
# Service discovery via well-known
redir /.well-known/carddav /remote.php/carddav 301
redir /.well-known/caldav /remote.php/caldav 301
proxy / nextcloud:80 {
transparent
# Nextcloud best practices and security
header_downstream Strict-Transport-Security "max-age=15552000;"
header_downstream Referrer-Policy "strict-origin-when-cross-origin"
header_downstream X-XSS-Protection "1; mode=block"
header_downstream X-Content-Type-Options "nosniff"
header_downstream X-Frame-Options "SAMEORIGIN"
}
}
https://lib.swrlab.org {
gzip
proxy / calibre-web:8083 {
transparent
}
}
#https://calibre.swrlab.org {
# gzip
# proxy / calibre:8080 {
# transparent
# }
#}
https://wallabag.swrlab.org {
gzip
proxy / wallabag:80 {
transparent
}
}