Files
penpot/docker/devenv/files/Caddyfile
Andrey Antukh 6b8091bb90 Make devenv https and http2 capable (#7871)
Making it more similar on how it runs on production
environments and improves large amount of files loading
thanks to http2.
2025-12-02 10:49:37 +01:00

30 lines
730 B
Caddyfile

{
auto_https off
}
localhost:3449 {
reverse_proxy localhost:4449
tls /home/selfsigned.crt /home/selfsigned.key
log {
format console
output file /home/penpot/penpot/logs/caddy.access.log {
roll_size 10MB # Create new file when size exceeds 10MB
roll_keep 5 # Keep at most 5 rolled files
roll_keep_for 14d # Delete files older than 14 days
}
}
}
http://localhost:3450 {
reverse_proxy localhost:4449
log {
format console
output file /home/penpot/penpot/logs/caddy.access.log {
roll_size 10MB # Create new file when size exceeds 10MB
roll_keep 5 # Keep at most 5 rolled files
roll_keep_for 14d # Delete files older than 14 days
}
}
}