mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 16:54:26 +01:00
Update Readme and Caddy config
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
60837143f6
commit
805584b2e1
10
README.md
10
README.md
@ -51,7 +51,7 @@ cd infrastructure
|
|||||||
|
|
||||||
### Configure the domain
|
### 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
|
```sh
|
||||||
find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/bensuperpc.org/mydomain.com/g'
|
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)
|
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 |
|
| 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) |
|
| SyncThing | SyncThing for file synchronization | [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) |
|
||||||
| Openssh | Openssh for ssh | [ssh.bensuperpc.org](https://ssh.bensuperpc.org) |
|
| Openssh | Openssh for ssh | [ssh.bensuperpc.org](https://ssh.bensuperpc.org) |
|
||||||
|
|
||||||
## URL
|
You can disable some services by removing the service name in PROFILES variable in the [Makefile](Makefile) file.
|
||||||
|
|
||||||
You can access to the website with:
|
|
||||||
|
|
||||||
- [bensuperpc.org](https://bensuperpc.org) and [www.bensuperpc.org](https://www.bensuperpc.org) (Wordpress for now)
|
|
||||||
|
|
||||||
## Build with
|
## Build with
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ www.bensuperpc.org {
|
|||||||
file_server
|
file_server
|
||||||
encode zstd gzip
|
encode zstd gzip
|
||||||
|
|
||||||
#metrics /metrics
|
# metrics /metrics
|
||||||
|
|
||||||
@disallowed {
|
@disallowed {
|
||||||
path /xmlrpc.php
|
path /xmlrpc.php
|
||||||
@ -70,6 +70,14 @@ syncthing.bensuperpc.org {
|
|||||||
}
|
}
|
||||||
|
|
||||||
link.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 /rickroll https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent
|
||||||
redir /babyshark https://www.youtube.com/watch?v=XqZsoesa55w permanent
|
redir /babyshark https://www.youtube.com/watch?v=XqZsoesa55w permanent
|
||||||
redir /cowcowcow https://www.youtube.com/watch?v=FavUpD_IjVY permanent
|
redir /cowcowcow https://www.youtube.com/watch?v=FavUpD_IjVY permanent
|
||||||
|
Loading…
Reference in New Issue
Block a user