mirror of
https://github.com/tanrax/SSE-Fake.git
synced 2024-11-14 19:45:41 +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/*
|
||
|
}
|