Enable gzip & fix favicon

modified:   Caddyfile
This commit is contained in:
Russell Ballestrini 2022-06-29 14:03:41 -04:00
parent 35da09bf3c
commit 987f46767f

View file

@ -10,15 +10,27 @@
interval 2m
burst 5
}
#log {
# output file out.log
# level DEBUG
#}
log {
output file out.log
#format json
level DEBUG
}
}
https:// {
encode gzip
tls {
on_demand
}
handle_path /static/* {
file_server
root * /opt/make_post_sell/env/static
}
handle /favicon.ico {
file_server
root * /opt/make_post_sell/env/static
}
handle {
reverse_proxy localhost:6001
}
}