Dynamic Domain system

1. The problem I’m having: I am trying to create a caddy file for it to authorize any domain/subdomain so I can use freedns. its mostly so I can make a proxy dispenser as this is a web proxy im trynna do, and I wanna make links without all the hassle in nginx, my config wasnt working thats

    tls {
        on_demand
    }
    reverse_proxy localhost:6060
}```







2025/01/21 00:35:04.699 INFO using config from file {“file”: “caddyfile”}
2025/01/21 00:35:04.702 INFO adapted config to JSON {“adapter”: “caddyfile”}
2025/01/21 00:35:04.703 INFO tls.cache.maintenance started background certificate maintenance {“cache”: “0xc00048ee00”}
2025/01/21 00:35:04.703 INFO tls.cache.maintenance stopped background certificate maintenance {“cache”: “0xc00048ee00”}
Error: loading http app module: provision http: getting tls app: loading tls app module: provision tls: provisioning automation policy 0: on-demand TLS cannot be enabled without a permission module to prevent abuse; please refer to documentation for details
greenishes@green-server ~/astral-frontend (main) [1]>



## 3. Caddy version:
<!--
v2.9.1 h1:OEYiZ7DbCzAWVb6TNEkjRcSCRGHVoZsJinoDR/n9oaY=
-->




## 4. How I installed and ran Caddy:
<!--
using the regular install method listed on the websitew
-->

### a. System environment:
heres my neofetch             .-/+oossssoo+/-.               greenishes@green-server
        `:+ssssssssssssssssss+:`           -----------------------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 24.04.1 LTS x86_64
    .ossssssssssssssssssdMMMNysssso.       Host: 81LW Lenovo IdeaPad L340-15API
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.8.0-51-generic
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 3 days, 6 hours, 1 min
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2093 (dpkg), 5 (flatpak), 12 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.2.21
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1366x768
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   Terminal: /dev/pts/3
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   CPU: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx (4) @ 2.600GHz
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Memory: 2395MiB / 5797MiB
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
  +sssssssssdmydMMMMMMMMddddyssssssss+
   /ssssssssssshdmNNNNmyNMMMMhssssss/
    .ossssssssssssssssssdMMMNysssso.
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.

Your post formatting is messed up, but you can start by reading this post. You’ll need to configure the ask URL; don’t leave your server open for DDoS.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.