SSE-Fake/Caddyfile
2022-03-04 11:33:29 +01:00

20 lines
278 B
Caddyfile

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/*
}