:80 { root * /app encode gzip handle /api/* { reverse_proxy api:5000 } handle { try_files {path} /index.html file_server @static path *.js *.css *.woff *.woff2 *.svg *.png *.jpg *.jpeg *.gif *.ico header @static Cache-Control "public, max-age=31536000, immutable" } }