15 lines
256 B
Caddyfile
15 lines
256 B
Caddyfile
control.example.com {
|
|
encode zstd gzip
|
|
|
|
reverse_proxy douyu-control:18080 {
|
|
flush_interval -1
|
|
}
|
|
|
|
header {
|
|
Strict-Transport-Security "max-age=31536000"
|
|
Referrer-Policy "no-referrer"
|
|
X-Content-Type-Options "nosniff"
|
|
X-Frame-Options "DENY"
|
|
}
|
|
}
|