Open ndphuong opened 3 years ago
the same question for me
assuming you are using vue3
history mode and Caddy2
, try this:
yoursite.com {
encode zstd gzip
root * /opt/app/vue3_lesson_demo/dist # here is your vue build folder
file_server
}
refer to: http://siwei.me/blog/posts/linux-caddy-vue3-caddy2
Hi,
I want to deploy this SPA using Caddy2 server but cannot find any working Caddyfile example