server_config/caddy/caddy/Caddyfile

25 lines
391 B
Caddyfile
Raw Normal View History

2024-05-21 17:06:22 +02:00
localhost:80,
cohabit.fr {
# Website entry point
encode zstd gzip
reverse_proxy 127.0.0.1:8000
}
www.cohabit.fr {
# Redirect "www" subdomain to main website entry point
redir https://cohabit.fr{uri} permanent
}
git.cohabit.fr {
# Forgejo instance for cohabit
reverse_proxy 127.0.0.1:10001
}
projets.cohabit.fr {
# Redmine instance for cohabit
reverse_proxy 127.0.0.1:33037
}