CDN and API Base URLs

Static assets (images, fonts, videos, documents) are served from cdn.nortonshop.net in production. Two settings control this:

Front-end (content/site-config.js)

cdnBase: "https://cdn.nortonshop.net",
apiBase: "https://api.nortonshop.net",

cdnBase is prepended to all image, JSON, document, video, and markdown content paths. Leave both as empty strings "" for local development.

Admin panel (admin/config.php)

$CDN_BASE = 'https://cdn.nortonshop.net';

Must match cdnBase in site-config.js or admin image previews will break.

CDN file upload

Admins can upload files to CDN directories via the admin panel (Media tab → CDN Files). Various file types can be uploaded to chosen subdirectories under cdn.nortonshop.net. Uploaded files are stored in the CDN Docker volume and served directly by nginx.

Back to top