Fixed caddy config

This commit is contained in:
2025-06-03 13:04:30 +01:00
parent e77605d314
commit 63fd72c4f8
2 changed files with 5 additions and 3 deletions

View File

@@ -3,8 +3,8 @@
} }
localhost { localhost {
handle /static/* { handle_path /static* {
root * /var/www/static/ root * /var/www/static
file_server file_server
} }
@@ -13,7 +13,9 @@ localhost {
header_down Pragma "no-cache" header_down Pragma "no-cache"
header_down Expires "0" header_down Expires "0"
} }
encode gzip encode gzip
log { log {
format console format console
level DEBUG level DEBUG

View File

@@ -3,7 +3,7 @@
} }
invenio.i-form.ie { invenio.i-form.ie {
handle /static/* { handle_path /static/* {
root * /var/www/ root * /var/www/
file_server file_server
} }