static srv somewhat working?

This commit is contained in:
Christoph J. Scherr 2023-09-26 22:10:12 +02:00
parent e87f6648cf
commit 6de4f905d8
1 changed files with 12 additions and 3 deletions

View File

@ -1,8 +1,17 @@
http://localhost {
handle_path /proxy/db {
handle_path /static/* {
root * /srv/static
file_server {
hide .git
precompressed zstd br gzip
}
}
handle_path /proxy/blog {
handle_path /media/* {
root * /srv/media
file_server {
hide .git
precompressed zstd br gzip
}
}
reverse_proxy http://main