demo-hackernews-with-django.../Caddyfile
Andros Fenollosa 9f6fcf447d Add statics
2021-06-23 15:10:44 +02:00

13 lines
214 B
Caddyfile

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