log files
This commit is contained in:
parent
de6d00d371
commit
7a004de033
|
|
@ -32,11 +32,20 @@ dev.bizmatch.net {
|
|||
try_files {path} {path}/ /index.html
|
||||
|
||||
encode gzip
|
||||
|
||||
handle /pictures/* {
|
||||
root * /home/aknuth/git/bizmatch-project/bizmatch-server
|
||||
file_server
|
||||
}
|
||||
|
||||
|
||||
log {
|
||||
output file /var/log/caddy/access.log {
|
||||
roll_size 10MB
|
||||
roll_keep 5
|
||||
roll_keep_for 48h
|
||||
}
|
||||
}
|
||||
|
||||
tls {
|
||||
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ services:
|
|||
#- /home/aknuth/git/bizmatch/dist/bizmatch/browser:/srv
|
||||
- /home/aknuth/git/bizmatch-project/bizmatch/dist/bizmatch/browser:/srv
|
||||
- /home/aknuth/git/bizmatch-project/bizmatch-server/pictures:/home/aknuth/git/bizmatch-project/bizmatch-server/pictures
|
||||
- /home/aknuth/log/caddy:/var/log/caddy
|
||||
environment:
|
||||
- CLOUDFLARE_API_TOKEN=q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue