Exclude folder from uploading to CDN

Is it possible to skip a folder from being uploaded to the CDN and serve it directly from the local storage?

Thanks in advance!