SSE-Fake/Caddyfile

20 lines
278 B
Caddyfile
Raw Permalink Normal View History

2022-03-04 11:33:29 +01:00
sse-fake.andros.dev {
root * /usr/src/app/
@notEvents {
not path /events/
}
encode @notEvents gzip
@notStatic {
not path /static/* /media/*
}
reverse_proxy @notStatic django:8000
file_server /static/*
file_server /media/*
}