Port CDN to Drupal 8
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2294613. -->
Reported by: [askibinski](https://www.drupal.org/user/248999)
>>>
<p>Part of my investigation into a headless drupal lead me to the CDN module and a question.</p>
<p>Situation:</p>
<p>- 1 server<br>
- 2 vhosts: one with only drupal 8 core, and one with only an angular.js app (html+js, no php)</p>
<p>Drupal 8 core will only be available as an admin backend at <a href="http://admin.mysite.localhost">http://admin.mysite.localhost</a>.<br>
The app will be available at <a href="http://www.mysite.localhost">http://www.mysite.localhost</a>.</p>
<p>I would like to have D8 read/write alle the files to the app files dir, so they become available at <a href="http://www.mysite.localhost/files/myfile.txt">http://www.mysite.localhost/files/myfile.txt</a></p>
<p>Would this require a CDN port to Drupal 8? It seems to me there must be an easier way to accomplish this? </p>
> Related issue: [Issue #2595613](https://www.drupal.org/node/2595613)
> Related issue: [Issue #2677414](https://www.drupal.org/node/2677414)
> Related issue: [Issue #1784432](https://www.drupal.org/node/1784432)
issue