mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 16:54:26 +01:00
Update config
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
0c8bd4664c
commit
3716b0a4ce
@ -64,6 +64,7 @@ And then, caddy will generate the certificate for you and renew it automatically
|
|||||||
| bensuperpc.com | Redirect to bensuperpc.org |
|
| bensuperpc.com | Redirect to bensuperpc.org |
|
||||||
| bensuperpc.fr | Redirect to bensuperpc.org |
|
| bensuperpc.fr | Redirect to bensuperpc.org |
|
||||||
| bensuperpc.net | Redirect to bensuperpc.org |
|
| bensuperpc.net | Redirect to bensuperpc.org |
|
||||||
|
| bensuperpc.ovh | Redirect to bensuperpc.org |
|
||||||
|
|
||||||
### Configure the infrastructure
|
### Configure the infrastructure
|
||||||
|
|
||||||
|
@ -5,4 +5,5 @@
|
|||||||
import bensuperpc.org/Caddyfile
|
import bensuperpc.org/Caddyfile
|
||||||
import bensuperpc.com/Caddyfile
|
import bensuperpc.com/Caddyfile
|
||||||
import bensuperpc.net/Caddyfile
|
import bensuperpc.net/Caddyfile
|
||||||
|
import bensuperpc.ovh/Caddyfile
|
||||||
import bensuperpc.fr/Caddyfile
|
import bensuperpc.fr/Caddyfile
|
||||||
|
@ -17,6 +17,13 @@ www.bensuperpc.org {
|
|||||||
|
|
||||||
respond /uploads/*.php 404
|
respond /uploads/*.php 404
|
||||||
|
|
||||||
|
header / {
|
||||||
|
Permissions-Policy interest-cohort=()
|
||||||
|
Strict-Transport-Security max-age=31536000;
|
||||||
|
X-Content-Type-Options nosniff
|
||||||
|
X-Frame-Options DENY
|
||||||
|
}
|
||||||
|
|
||||||
log {
|
log {
|
||||||
output file /data/logs/access.log
|
output file /data/logs/access.log
|
||||||
format console
|
format console
|
||||||
|
7
caddy/bensuperpc.ovh/Caddyfile
Normal file
7
caddy/bensuperpc.ovh/Caddyfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
bensuperpc.ovh {
|
||||||
|
redir https://www.bensuperpc.org{uri} permanent
|
||||||
|
}
|
||||||
|
|
||||||
|
www.bensuperpc.ovh {
|
||||||
|
redir https://www.bensuperpc.org{uri} permanent
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user