more fixes
This commit is contained in:
parent
6f43d339b8
commit
2c751294da
2 changed files with 12 additions and 3 deletions
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
admin off
|
||||
admin on
|
||||
auto_https off
|
||||
http_port 8080
|
||||
https_port 0
|
||||
cert_issuer internal
|
||||
skip_install_trust
|
||||
|
||||
log {
|
||||
output stderr
|
||||
|
@ -10,6 +12,10 @@
|
|||
level INFO
|
||||
}
|
||||
|
||||
servers {
|
||||
protocols h1
|
||||
}
|
||||
|
||||
storage file_system {
|
||||
root /app/run/caddy
|
||||
}
|
||||
|
@ -31,7 +37,7 @@
|
|||
# Handle media files
|
||||
handle /media/* {
|
||||
uri strip_prefix /media
|
||||
root * /app/mediafiles
|
||||
root * /data/media
|
||||
file_server
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue