static srv somewhat working?
This commit is contained in:
parent
e87f6648cf
commit
6de4f905d8
|
@ -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 /media/* {
|
||||
root * /srv/media
|
||||
file_server {
|
||||
hide .git
|
||||
precompressed zstd br gzip
|
||||
}
|
||||
|
||||
handle_path /proxy/blog {
|
||||
}
|
||||
|
||||
reverse_proxy http://main
|
||||
|
|
Loading…
Reference in New Issue