Custom CDN - not cloudflare?

From what I read online, I’m supposed to edit the NGINX file, but I’m not sure what exactly I should change to use a custom CDN. I found instructions for KeyCDN, but that messed everything up (they’re not the CDN I’m going to use).

Any tips?