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 and image policy per site.

The "­Fol­der" fol­der

Place all the default files for all folders except the root folder here. If you have a folder somewhere, the contents in this folder will…

The "­Root" fol­der

Place all the default root files and folders you would like to include in your site in this folder.

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

The headers.json file is the legacy configuration format for HTTP headers in Docly. New sites should use the headers property in…

Using Git with Doc­ly

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