diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 64ed8a2..28be04d 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -1 +1,3 @@ -import wordpress/Caddyfile +import bensuperpc.org/Caddyfile +import bensuperpc.com/Caddyfile +import bensuperpc.fr/Caddyfile diff --git a/caddy/bensuperpc.com/Caddyfile b/caddy/bensuperpc.com/Caddyfile new file mode 100644 index 0000000..380d09a --- /dev/null +++ b/caddy/bensuperpc.com/Caddyfile @@ -0,0 +1,7 @@ +bensuperpc.com { + redir https://www.bensuperpc.org{uri} permanent +} + +www.bensuperpc.com { + redir https://www.bensuperpc.org{uri} permanent +} diff --git a/caddy/bensuperpc.fr/Caddyfile b/caddy/bensuperpc.fr/Caddyfile new file mode 100644 index 0000000..897e5f0 --- /dev/null +++ b/caddy/bensuperpc.fr/Caddyfile @@ -0,0 +1,7 @@ +bensuperpc.fr { + redir https://www.bensuperpc.org{uri} permanent +} + +www.bensuperpc.fr { + redir https://www.bensuperpc.org{uri} permanent +} diff --git a/caddy/wordpress/Caddyfile b/caddy/bensuperpc.org/Caddyfile similarity index 77% rename from caddy/wordpress/Caddyfile rename to caddy/bensuperpc.org/Caddyfile index 29e38bd..542c24d 100644 --- a/caddy/wordpress/Caddyfile +++ b/caddy/bensuperpc.org/Caddyfile @@ -34,11 +34,3 @@ adminer.bensuperpc.org { uptimekuma.bensuperpc.org { reverse_proxy uptime-kuma:3001 } - -bensuperpc.com { - redir https://www.bensuperpc.org{uri} permanent -} - -www.bensuperpc.com { - redir https://www.bensuperpc.org{uri} permanent -}