mirror of
https://github.com/tanrax/SSE-Fake.git
synced 2024-11-15 03:55:42 +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/*
|
|
}
|