two handles
This commit is contained in:
parent
7a004de033
commit
89fdcbb5bd
|
|
@ -27,17 +27,17 @@ gitea.bizmatch.net {
|
||||||
}
|
}
|
||||||
|
|
||||||
dev.bizmatch.net {
|
dev.bizmatch.net {
|
||||||
root * /srv
|
|
||||||
file_server
|
|
||||||
try_files {path} {path}/ /index.html
|
|
||||||
|
|
||||||
encode gzip
|
|
||||||
|
|
||||||
handle /pictures/* {
|
handle /pictures/* {
|
||||||
root * /home/aknuth/git/bizmatch-project/bizmatch-server
|
root * /home/aknuth/git/bizmatch-project/bizmatch-server
|
||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
|
|
||||||
|
handle {
|
||||||
|
root * /srv
|
||||||
|
try_files {path} {path}/ /index.html
|
||||||
|
file_server
|
||||||
|
}
|
||||||
|
|
||||||
log {
|
log {
|
||||||
output file /var/log/caddy/access.log {
|
output file /var/log/caddy/access.log {
|
||||||
roll_size 10MB
|
roll_size 10MB
|
||||||
|
|
@ -46,6 +46,8 @@ dev.bizmatch.net {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
encode gzip
|
||||||
|
|
||||||
tls {
|
tls {
|
||||||
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue