22 lines
331 B
Caddyfile
22 lines
331 B
Caddyfile
{
|
|
servers {
|
|
protocols h1 h2c
|
|
}
|
|
}
|
|
|
|
:8080 {
|
|
root * /app
|
|
|
|
# Enable on-the-fly compression for things not pre-compressed
|
|
encode zstd gzip
|
|
|
|
file_server {
|
|
precompressed br
|
|
}
|
|
|
|
try_files {path} /index.html
|
|
|
|
# Required for Sentry browser profiling (JS Self-Profiling API)
|
|
header Document-Policy "js-profiling"
|
|
}
|