mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-25 03:48:24 +02:00
Added Zstandard compression in Caddy
This commit is contained in:
parent
5aebd772b5
commit
a325a6532a
1 changed files with 3 additions and 3 deletions
|
@ -280,7 +280,7 @@ EOF
|
||||||
rdap.$REGISTRY_DOMAIN {
|
rdap.$REGISTRY_DOMAIN {
|
||||||
$BIND_LINE
|
$BIND_LINE
|
||||||
reverse_proxy localhost:7500
|
reverse_proxy localhost:7500
|
||||||
encode gzip
|
encode zstd gzip
|
||||||
file_server
|
file_server
|
||||||
tls $YOUR_EMAIL
|
tls $YOUR_EMAIL
|
||||||
header -Server
|
header -Server
|
||||||
|
@ -299,7 +299,7 @@ EOF
|
||||||
whois.$REGISTRY_DOMAIN {
|
whois.$REGISTRY_DOMAIN {
|
||||||
$BIND_LINE
|
$BIND_LINE
|
||||||
root * /var/www/whois
|
root * /var/www/whois
|
||||||
encode gzip
|
encode zstd gzip
|
||||||
php_fastcgi unix//run/php/${PHP_VERSION}-fpm.sock
|
php_fastcgi unix//run/php/${PHP_VERSION}-fpm.sock
|
||||||
file_server
|
file_server
|
||||||
tls $YOUR_EMAIL
|
tls $YOUR_EMAIL
|
||||||
|
@ -320,7 +320,7 @@ EOF
|
||||||
$BIND_LINE
|
$BIND_LINE
|
||||||
root * /var/www/cp/public
|
root * /var/www/cp/public
|
||||||
php_fastcgi unix//run/php/${PHP_VERSION}-fpm.sock
|
php_fastcgi unix//run/php/${PHP_VERSION}-fpm.sock
|
||||||
encode gzip
|
encode zstd gzip
|
||||||
file_server
|
file_server
|
||||||
tls $YOUR_EMAIL
|
tls $YOUR_EMAIL
|
||||||
header -Server
|
header -Server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue