Move wordpress domain

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-08-25 20:53:35 +02:00
parent a15380b95c
commit 2aaccc2458
4 changed files with 19 additions and 14 deletions

View File

@ -67,8 +67,8 @@ And then, caddy will generate the certificate for you and renew it automatically
| Domain name | Type | Description | | Domain name | Type | Description |
| --- | --- | --- | | --- | --- | --- |
| [homepage.bensuperpc.org](https://homepage.bensuperpc.org) | Sub | Homepage | | [www.bensuperpc.org](https://www.bensuperpc.org) | Main | Homepage |
| [bensuperpc.org](https://bensuperpc.org) | Main | Main domain | | [wordpress.bensuperpc.org](https://wordpress.bensuperpc.org) | Sub | Wordpress website |
| [adminer.bensuperpc.org](https://adminer.bensuperpc.org) | Sub | Adminer for MariaDB for wordpress only | | [adminer.bensuperpc.org](https://adminer.bensuperpc.org) | Sub | Adminer for MariaDB for wordpress only |
| [uptimekuma.bensuperpc.org](https://uptimekuma.bensuperpc.org) | Sub | Uptime Kuma for monitoring | | [uptimekuma.bensuperpc.org](https://uptimekuma.bensuperpc.org) | Sub | Uptime Kuma for monitoring |
| [qbittorrent.bensuperpc.org](https://qbittorrent.bensuperpc.org) | Sub | Torrent client/server | | [qbittorrent.bensuperpc.org](https://qbittorrent.bensuperpc.org) | Sub | Torrent client/server |
@ -186,8 +186,8 @@ You can find all service on this table:
| Service | Description | URL | | Service | Description | URL |
| --- | --- | --- | | --- | --- | --- |
| Homepage | Homepage | [homepage.bensuperpc.org](https://homepage.bensuperpc.org) | | Homepage | Homepage | [www.bensuperpc.org](https://www.bensuperpc.org) |
| Wordpress | Wordpress website | [bensuperpc.org](https://bensuperpc.org) and [www.bensuperpc.org](https://www.bensuperpc.org) | | Wordpress | Wordpress website | [wordpress.bensuperpc.org](https://bensuperpc.org) |
| Adminer | Adminer for MariaDB | [adminer.bensuperpc.org](https://adminer.bensuperpc.org) | | Adminer | Adminer for MariaDB | [adminer.bensuperpc.org](https://adminer.bensuperpc.org) |
| Uptime Kuma | Uptime Kuma for monitoring | [uptimekuma.bensuperpc.org](https://uptimekuma.bensuperpc.org) | | Uptime Kuma | Uptime Kuma for monitoring | [uptimekuma.bensuperpc.org](https://uptimekuma.bensuperpc.org) |
| qbittorrent | qbittorrent server | [qbittorrent.bensuperpc.org](https://qbittorrent.bensuperpc.org) | | qbittorrent | qbittorrent server | [qbittorrent.bensuperpc.org](https://qbittorrent.bensuperpc.org) |

View File

@ -1,4 +1,16 @@
www.bensuperpc.org { www.bensuperpc.org {
reverse_proxy homepage:3000
}
bensuperpc.org {
redir https://www.bensuperpc.org permanent
}
homepage.bensuperpc.org {
redir https://www.bensuperpc.org{uri} permanent
}
wordpress.bensuperpc.org {
root * /var/www/html root * /var/www/html
php_fastcgi wordpress:9000 php_fastcgi wordpress:9000
@ -35,10 +47,6 @@ www.bensuperpc.org {
} }
} }
bensuperpc.org {
redir https://www.bensuperpc.org{uri} permanent
}
adminer.bensuperpc.org { adminer.bensuperpc.org {
reverse_proxy adminer:8080 reverse_proxy adminer:8080
} }
@ -101,10 +109,6 @@ pastebin.bensuperpc.org {
redir https://privatebin.bensuperpc.org permanent redir https://privatebin.bensuperpc.org permanent
} }
homepage.bensuperpc.org {
reverse_proxy homepage:3000
}
dozzle.bensuperpc.org { dozzle.bensuperpc.org {
reverse_proxy dozzle:8080 reverse_proxy dozzle:8080
} }

View File

@ -5,9 +5,9 @@
- Personal: - Personal:
- wordpress: - wordpress:
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png
href: https://www.bensuperpc.org/ href: https://wordpress.bensuperpc.org/
description: Wordpress description: Wordpress
ping: bensuperpc.org ping: wordpress.bensuperpc.org
container: wordpress container: wordpress
- uptime-kuma: - uptime-kuma:
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/uptime-kuma.png icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/uptime-kuma.png

View File

@ -1,2 +1,3 @@
ADMIN_EMAIL=bensuperpc@gmail.com ADMIN_EMAIL=bensuperpc@gmail.com
SECRET_KEY=UZvg9nbcGIJlPEB3uI39TAEWyFOz9nm8 SECRET_KEY=UZvg9nbcGIJlPEB3uI39TAEWyFOz9nm8
#DATABASE_URL=postgresql://user:password@postgresserver/db