mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 08:45:02 +01:00
111 lines
2.1 KiB
Caddyfile
111 lines
2.1 KiB
Caddyfile
www.noratrieb.dev {
|
|
log
|
|
redir https://noratrieb.dev{uri} permanent
|
|
}
|
|
|
|
api.hugo-chat.noratrieb.dev {
|
|
log
|
|
import cors https://hugo-chat.noratrieb.dev "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type"
|
|
encode zstd gzip
|
|
reverse_proxy * localhost:5001
|
|
}
|
|
|
|
docker.noratrieb.dev {
|
|
log
|
|
reverse_proxy * localhost:5000
|
|
}
|
|
|
|
git.noratrieb.dev {
|
|
log
|
|
encode zstd gzip
|
|
reverse_proxy * localhost:5015
|
|
}
|
|
|
|
olat.noratrieb.dev {
|
|
log
|
|
encode zstd gzip
|
|
reverse_proxy * localhost:5011
|
|
}
|
|
|
|
# unsure if necessary... something was misconfigured in the past here...
|
|
olat.noratrieb.dev:8088 {
|
|
log
|
|
encode zstd gzip
|
|
reverse_proxy * localhost:5011
|
|
}
|
|
|
|
upload.files.noratrieb.dev {
|
|
log
|
|
encode zstd gzip
|
|
# we need HTTP/2 here because the server doesn't work with HTTP/1.1
|
|
# because it will send early 401 responses during the upload without consuming the body
|
|
reverse_proxy * h2c://localhost:3050
|
|
}
|
|
|
|
################################################################
|
|
# retired
|
|
|
|
bisect-rustc.noratrieb.dev {
|
|
log
|
|
redir https://github.com/Noratrieb/cargo-bisect-rustc-service?tab=readme-ov-file#cargo-bisect-rustc-service
|
|
}
|
|
|
|
uptime.noratrieb.dev {
|
|
log
|
|
redir https://github.com/Noratrieb/uptime?tab=readme-ov-file#uptime
|
|
}
|
|
|
|
blog.noratrieb.dev {
|
|
log
|
|
redir https://noratrieb.dev/blog{uri} permanent
|
|
}
|
|
|
|
nilstrieb.dev {
|
|
log
|
|
redir https://noratrieb.dev{uri} permanent
|
|
}
|
|
|
|
www.nilstrieb.dev {
|
|
log
|
|
redir https://noratrieb.dev{uri} permanent
|
|
}
|
|
|
|
blog.nilstrieb.dev {
|
|
log
|
|
redir https://noratrieb.dev/blog{uri} permanent
|
|
}
|
|
|
|
bisect-rustc.nilstrieb.dev {
|
|
log
|
|
redir https://bisect-rustc.noratrieb.dev/blog{uri} permanent
|
|
}
|
|
|
|
docker.nilstrieb.dev {
|
|
log
|
|
redir https://docker.noratrieb.dev{uri} permanent
|
|
}
|
|
|
|
hugo-chat.nilstrieb.dev {
|
|
log
|
|
redir https://hugo-chat.noratrieb.dev{uri} permanent
|
|
}
|
|
|
|
api.hugo-chat.nilstrieb.dev {
|
|
log
|
|
redir https://api.hugo-chat.noratrieb.dev{uri} permanent
|
|
}
|
|
|
|
uptime.nilstrieb.dev {
|
|
log
|
|
redir https://uptime.noratrieb.dev{uri} permanent
|
|
}
|
|
|
|
olat.nilstrieb.dev {
|
|
log
|
|
redir https://olat.noratrieb.dev{uri} permanent
|
|
}
|
|
|
|
olat.nilstrieb.dev:8088 {
|
|
log
|
|
redir https://olat.noratrieb.dev{uri} permanent
|
|
}
|