mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-11-10 04:07:26 +01:00
Update caddy
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
c07c16f2d7
commit
951e5b2956
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
.env
|
||||
*.env
|
||||
|
3
caddy/Caddyfile
Normal file
3
caddy/Caddyfile
Normal file
@ -0,0 +1,3 @@
|
||||
#import /path/to/*.caddy
|
||||
|
||||
import wordpress/Caddyfile
|
@ -14,22 +14,6 @@ bensuperpc.org {
|
||||
respond /uploads/*.php 404
|
||||
}
|
||||
|
||||
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}
|
||||
redir https://bensuperpc.org{uri}
|
||||
}
|
@ -25,7 +25,6 @@ services:
|
||||
profiles:
|
||||
- wordpress
|
||||
restart: always
|
||||
user: "root:root"
|
||||
env_file:
|
||||
- env/wordpress.env
|
||||
volumes:
|
||||
@ -48,7 +47,7 @@ services:
|
||||
- wordpress:/var/www/html:rw
|
||||
- caddy_data:/data:rw
|
||||
- caddy_config:/config:rw
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
- ./caddy:/etc/caddy:ro
|
||||
networks:
|
||||
- blog-network
|
||||
# phpmyadmin:
|
||||
|
Loading…
Reference in New Issue
Block a user