mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +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
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
email bensuperpc@gmail.com
|
email bensuperpc@gmail.com
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
@ -16,6 +16,13 @@ www.bensuperpc.org {
|
|||||||
rewrite @disallowed '/index.php'
|
rewrite @disallowed '/index.php'
|
||||||
|
|
||||||
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
|
||||||
|
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