mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Making it more similar on how it runs on production environments and improves large amount of files loading thanks to http2.
30 lines
730 B
Caddyfile
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
|
|
}
|
|
}
|
|
}
|