Remove files.hubris.network (Seafile decommissioned)
This commit is contained in:
43
Caddyfile
43
Caddyfile
@@ -176,46 +176,3 @@ artifacto.hubris.network {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
files.hubris.network {
|
|
||||||
tls {
|
|
||||||
dns ionos {env.IONOS_AUTH_API_TOKEN}
|
|
||||||
}
|
|
||||||
encode zstd gzip
|
|
||||||
request_body {
|
|
||||||
max_size 10GB
|
|
||||||
}
|
|
||||||
# /thumbnail/* served by the Pro thumbnail-server (LXC 125 port 8081).
|
|
||||||
@thumb path /thumbnail/*
|
|
||||||
handle @thumb {
|
|
||||||
reverse_proxy 192.168.8.185:8081 {
|
|
||||||
header_up X-Forwarded-Proto https
|
|
||||||
header_up X-Forwarded-Host {host}
|
|
||||||
header_up Host {host}
|
|
||||||
transport http {
|
|
||||||
dial_timeout 30s
|
|
||||||
read_timeout 1h
|
|
||||||
write_timeout 1h
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
handle {
|
|
||||||
reverse_proxy 192.168.8.185:80 {
|
|
||||||
header_up X-Forwarded-Proto https
|
|
||||||
header_up X-Forwarded-Host {host}
|
|
||||||
header_up Host {host}
|
|
||||||
# Seafile iOS Pro app (>=4.0) speaks the IETF Resumable Uploads draft;
|
|
||||||
# the bundled seafile-fileserver does not. Strip the negotiation headers
|
|
||||||
# so the client falls back to a normal multipart upload.
|
|
||||||
header_up -Upload-Draft-Interop-Version
|
|
||||||
header_up -Upload-Complete
|
|
||||||
header_up -Upload-Offset
|
|
||||||
header_up -Upload-Length
|
|
||||||
transport http {
|
|
||||||
dial_timeout 30s
|
|
||||||
read_timeout 1h
|
|
||||||
write_timeout 1h
|
|
||||||
}
|
|
||||||
flush_interval -1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user