From 0a2ac572d43771abbca875f5e383943319c85a99 Mon Sep 17 00:00:00 2001 From: ankitpatial Date: Mon, 30 Sep 2024 11:05:44 +0000 Subject: [PATCH] Add caddy-example.conf --- caddy-example.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 caddy-example.conf 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 +}