21 lines
347 B
Plaintext
21 lines
347 B
Plaintext
|
(cors) {
|
||
|
@origin header Origin {args.0}
|
||
|
header @origin Access-Control-Allow-Origin "{args.0}"
|
||
|
header @origin Access-Control-Request-Method GET
|
||
|
}
|
||
|
|
||
|
(nobots) {
|
||
|
respond /robots.txt 200 {
|
||
|
body "User-agent: *
|
||
|
Disallow: /"
|
||
|
close
|
||
|
}
|
||
|
}
|
||
|
|
||
|
(tls-cf) {
|
||
|
tls {
|
||
|
dns cloudflare {args.0}
|
||
|
resolvers 1.1.1.1
|
||
|
}
|
||
|
}
|