commit bce12f4c4d03da78e395efb334ac9f1ca45316b4 Author: Beyhan Oğur Date: Sun Apr 26 21:22:08 2026 +0300 first commit diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..3b2fc40 --- /dev/null +++ b/Caddyfile @@ -0,0 +1,3 @@ +:80 { + redir https://cloud.beyhano.net.tr{uri} permanent +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..9939642 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# caddy_proxy diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..379ca3d --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +version: "3.8" + +services: + caddy: + image: caddy:2 + container_name: caddy-redirect + expose: + - "80" + - "443" + volumes: + - ./Caddyfile:/etc/caddy/Caddyfile + - caddy_data:/data + - caddy_config:/config + restart: unless-stopped + +volumes: + caddy_data: + caddy_config: \ No newline at end of file