dev-ops/caddy-example.conf

19 lines
209 B
Plaintext

:80 {
root * /var/www/html
file_server
}
:443 {
root * /var/www/html
file_server
}
www.example.com {
redir https://gitserver.in{uri}
}
example.com {
tls user@email.com
reverse_proxy localhost:8080
}