Added brotli support for Caddy. Manual change required for upgrades.

This commit is contained in:
Pinga 2025-02-11 11:14:58 +02:00
parent 5276413470
commit 37b9d0ad9e

View file

@ -288,7 +288,7 @@ EOF
rdap.$REGISTRY_DOMAIN {
$BIND_LINE
reverse_proxy localhost:7500
encode zstd gzip
encode brotli zstd gzip
file_server
tls $YOUR_EMAIL
header -Server
@ -311,7 +311,7 @@ EOF
whois.$REGISTRY_DOMAIN {
$BIND_LINE
root * /var/www/whois
encode zstd gzip
encode brotli zstd gzip
php_fastcgi unix//run/php/${PHP_VERSION}-fpm.sock
file_server
tls $YOUR_EMAIL
@ -332,7 +332,7 @@ EOF
$BIND_LINE
root * /var/www/cp/public
php_fastcgi unix//run/php/${PHP_VERSION}-fpm.sock
encode zstd gzip
encode brotli zstd gzip
file_server
tls $YOUR_EMAIL
header -Server