sscdc/Caddyfile
2025-02-28 00:24:39 +01:00

27 lines
No EOL
558 B
Caddyfile

{
auto_https off
admin unix//test
}
:80 {
handle_path /_sscdc/* {
reverse_proxy unix//some/socket
}
}
http://moritzruth.de {
handle_path /_sscdc/* {
reverse_proxy unix//some/socket
}
handle {
redir /kontakt /contact permanent
header /assets/* Cache-Control "public, max-age=604800, immutable"
root * /home/moritz/dev/moritzruth/sscdc/run/sites/moritzruth.de
try_files {path} {path}/index.html /index.html
file_server {
precompressed br gzip
}
}
}