47 lines
603 B
Caddyfile
47 lines
603 B
Caddyfile
{
|
|
http_port 8080
|
|
https_port 8443
|
|
servers {
|
|
metrics
|
|
}
|
|
metrics {
|
|
per_host
|
|
}
|
|
admin :2019
|
|
}
|
|
|
|
# Fix pour le http3
|
|
(alt_svc) {
|
|
header Alt-Svc `h3=":443"; ma=2592000`
|
|
}
|
|
|
|
qpismont.fr {
|
|
redir https://www.qpismont.fr
|
|
}
|
|
|
|
www.qpismont.fr {
|
|
import alt_svc
|
|
root * /www/html
|
|
file_server
|
|
}
|
|
|
|
gitea.qpismont.fr {
|
|
import alt_svc
|
|
reverse_proxy gitea:3000
|
|
}
|
|
|
|
git.qpismont.fr {
|
|
import alt_svc
|
|
reverse_proxy gitea:3000
|
|
}
|
|
|
|
woodpecker.qpismont.fr {
|
|
import alt_svc
|
|
reverse_proxy woodpecker_server:8000
|
|
}
|
|
|
|
ntfy.qpismont.fr {
|
|
import alt_svc
|
|
reverse_proxy ntfy:80
|
|
}
|