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 interval 2m
burst 5 burst 5
} }
#log { log {
# output file out.log output file out.log
# level DEBUG #format json
#} level DEBUG
}
} }
https:// { https:// {
encode gzip
tls { tls {
on_demand on_demand
} }
reverse_proxy localhost:6001 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
}
} }