demo-hackernews-with-django.../Caddyfile

13 lines
214 B
Caddyfile
Raw Normal View History

2021-06-23 15:10:44 +02:00
http://django.localhost:9000
encode gzip zstd
root * /home/andros/www/demo-hackernews-with-django-rest-framework
@notStatic {
not path /static/* /media/*
}
reverse_proxy @notStatic localhost:8000
file_server