Skip to content

Commit 23343c6

Browse files
authored
Added: encode responses in the file server (#4014)
1 parent 282e4dd commit 23343c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recipe/provision/Caddyfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{{domain}} {
22
root * {{deploy_path}}/current/{{public_path}}
3+
encode zstd gzip
34
file_server
45
php_fastcgi * unix//run/php/php{{php_version}}-fpm.sock {
56
resolve_root_symlink
@@ -16,6 +17,7 @@
1617
expression {http.error.status_code} == 404
1718
}
1819
rewrite @404 /404.html
20+
encode zstd gzip
1921
file_server {
2022
root /var/deployer
2123
}

0 commit comments

Comments
 (0)