diff --git a/README.md b/README.md index 76cc300..0e5a0ea 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ cd infrastructure ### Configure the domain -For all **bensuperpc.org**, you need to replace it with your domain, example: **mydomain.com** +For all **bensuperpc.org**, you need to replace it with your domain, example: **mydomain.com**, so the same for **bensuperpc.com** ect... ```sh find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/bensuperpc.org/mydomain.com/g' @@ -59,7 +59,7 @@ find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/b Check if all bensuperpc.* are replaced by your domain in [Caddyfile](caddy/wordpress/Caddyfile) -And then, caddy will generate the certificate for you and renew it automatically :D (It's easier than certbot and nginx) +And then, caddy will generate the certificate for you and renew it automatically :D | Domain name | Type | Description | | --- | --- | --- | @@ -168,11 +168,7 @@ You can find all services on the [docker-compose.yml](docker-compose.yml) file o | SyncThing | SyncThing for file synchronization | [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) | | Openssh | Openssh for ssh | [ssh.bensuperpc.org](https://ssh.bensuperpc.org) | -## URL - -You can access to the website with: - -- [bensuperpc.org](https://bensuperpc.org) and [www.bensuperpc.org](https://www.bensuperpc.org) (Wordpress for now) +You can disable some services by removing the service name in PROFILES variable in the [Makefile](Makefile) file. ## Build with diff --git a/caddy/bensuperpc.org/Caddyfile b/caddy/bensuperpc.org/Caddyfile index a76eef1..6995c0f 100644 --- a/caddy/bensuperpc.org/Caddyfile +++ b/caddy/bensuperpc.org/Caddyfile @@ -5,7 +5,7 @@ www.bensuperpc.org { file_server encode zstd gzip - #metrics /metrics + # metrics /metrics @disallowed { path /xmlrpc.php @@ -70,6 +70,14 @@ syncthing.bensuperpc.org { } link.bensuperpc.org { + # TODO: Use service with database + # Friendly links + redir /gnous https://gnous.eu permanent + redir /proxy https://imagisphe.re permanent + redir /patch https://spaceint.fr permanent + redir /greep https://greep.fr permanent + + # Youtube links redir /rickroll https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent redir /babyshark https://www.youtube.com/watch?v=XqZsoesa55w permanent redir /cowcowcow https://www.youtube.com/watch?v=FavUpD_IjVY permanent