Revert "Update caddy"

This reverts commit 951e5b2956.
This commit is contained in:
Bensuperpc 2023-04-15 20:41:21 +02:00
parent 66b014c076
commit b13654df15
No known key found for this signature in database
GPG Key ID: D00C6B1021747EED
4 changed files with 21 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
*.env
.env

View File

@ -14,6 +14,22 @@ bensuperpc.org {
respond /uploads/*.php 404
}
www.bensuperpc.com {
redir https://bensuperpc.org{uri}
www.bensuperpc.org {
redir https://{host}{uri}
}
bensuperpc.fr {
redir https://{host}{uri}
}
www.bensuperpc.fr {
redir https://{host}{uri}
}
bensuperpc.com {
redir https://{host}{uri}
}
www.bensuperpc.com {
redir https://{host}{uri}
}

View File

@ -1,3 +0,0 @@
#import /path/to/*.caddy
import wordpress/Caddyfile

View File

@ -25,6 +25,7 @@ services:
profiles:
- wordpress
restart: always
user: "root:root"
env_file:
- env/wordpress.env
volumes:
@ -47,7 +48,7 @@ services:
- wordpress:/var/www/html:rw
- caddy_data:/data:rw
- caddy_config:/config:rw
- ./caddy:/etc/caddy:ro
- ./Caddyfile:/etc/caddy/Caddyfile:ro
networks:
- blog-network
# phpmyadmin: