# Snippet — merge into whatever Caddyfile already serves digibyte.x. # Meant for the layout "wallet lives at /web/, other content owns /". # # The two `handle_path` blocks are order-sensitive: /p2p/* MUST come # BEFORE /web/* so daemon traffic never falls into the SPA fallback. # # Tokens replaced by ops/deploy-wallet-web.sh (or by hand): # @SITE_ROOT@ filesystem path to the deployed dist/ bundle # (dist/ is a plain production build: relative #