mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-25 19:29:21 -07:00
add Caddy gzip warning (https://bitwardenrs.discourse.group/t/downloading-attachment-in-firefox/62/15)
@@ -11,6 +11,10 @@ Caddy can also automatically enable HTTPS in some circumstances, check the [docs
|
|||||||
:443 {
|
:443 {
|
||||||
tls ${SSLCERTIFICATE} ${SSLKEY}
|
tls ${SSLCERTIFICATE} ${SSLKEY}
|
||||||
# or 'tls self_signed' to generate a self-signed certificate
|
# or 'tls self_signed' to generate a self-signed certificate
|
||||||
|
|
||||||
|
# This setting may have compatibility issues with some browsers
|
||||||
|
# (e.g., attachment downloading on Firefox). Try disabling this
|
||||||
|
# if you encounter issues.
|
||||||
gzip
|
gzip
|
||||||
|
|
||||||
# The negotiation endpoint is also proxied to Rocket
|
# The negotiation endpoint is also proxied to Rocket
|
||||||
@@ -46,6 +50,10 @@ Caddy 2 can also automatically enable HTTPS in some circumstances, check the [do
|
|||||||
#roll_size 5MiB #Not working on Caddy V2.0.0 Beta20 https://caddyserver.com/docs/caddyfile/directives/log#log
|
#roll_size 5MiB #Not working on Caddy V2.0.0 Beta20 https://caddyserver.com/docs/caddyfile/directives/log#log
|
||||||
#roll_keep 2 #Not working on Caddy V2.0.0 Beta20 https://caddyserver.com/docs/caddyfile/directives/log#log
|
#roll_keep 2 #Not working on Caddy V2.0.0 Beta20 https://caddyserver.com/docs/caddyfile/directives/log#log
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This setting may have compatibility issues with some browsers
|
||||||
|
# (e.g., attachment downloading on Firefox). Try disabling this
|
||||||
|
# if you encounter issues.
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
||||||
header / {
|
header / {
|
||||||
|
|||||||
Reference in New Issue
Block a user