diff --git a/caddy-example.conf b/caddy-example.conf new file mode 100644 index 0000000..b989b81 --- /dev/null +++ b/caddy-example.conf @@ -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 +}