feat: add dev and prod deployment scaffolding
This commit is contained in:
15
deploy/Caddyfile
Normal file
15
deploy/Caddyfile
Normal file
@@ -0,0 +1,15 @@
|
||||
{$SITE_ADDRESS} {
|
||||
encode gzip zstd
|
||||
|
||||
handle_path /static/* {
|
||||
root * /srv/static
|
||||
file_server
|
||||
}
|
||||
|
||||
handle_path /media/* {
|
||||
root * /srv/media
|
||||
file_server
|
||||
}
|
||||
|
||||
reverse_proxy web:8000
|
||||
}
|
||||
Reference in New Issue
Block a user