Configuration

Configure your Docly site — site.json, security headers, and the special Folder/Root mappings.

Si­te.j­son con­fig fi­le

Configuration reference for site.json – controls minification, HTTP headers, URL rules, image policy, security level and template syntax…

The "­Fol­der" fol­der

Place default files for your folders here. If a folder does not have a file with the requested name, Docly serves the one from #/Folder/…

The "­Root" fol­der

Place default files and folders for your site here. #/Root/ mirrors the URL tree of the published site: #/Root/assets/site.css is served at…

Se­curi­ty Hea­ders in the hea­ders.­json fi­le

The headers.json file sets HTTP headers on every response from a site. For a single site, prefer the headers property in site.json,…

Using Git with Doc­ly

Clone a Docly folder with plain git, work locally, and push your changes back.