mirror of
https://github.com/tanrax/SSE-Fake.git
synced 2024-12-28 01:25:34 +01:00
20 lines
278 B
Caddyfile
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/*
|
|
}
|