Add caddy-example.conf

This commit is contained in:
Ankit Patial 2024-09-30 11:05:44 +00:00
parent a818e6ad47
commit 0a2ac572d4

18
caddy-example.conf Normal file
View File

@ -0,0 +1,18 @@
: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
}