- Joined
- Dec 29, 2019
- Messages
- 3
- Points
- 3
Reputation:
Due to the slow download speed of the server, I want to set up a CDN website to store uploaded attachments, such as http://cdn.example.com/
In official documentation:
https://xenforo.com/xf2-docs/manual/config/#data-and-script-locations
The configuration about this is in the Config.php file
$ config ['externalDataPath'] = 'data';
$ config ['externalDataUrl'] = 'http://cdn.example.com/data';
$ config ['internalDataPath'] = 'internal_data';
$ config ['internalDataUrl'] = 'http://cdn.example.com/internal_data';
After setup, the website will not work, and the avatar and attachments cannot be uploaded and read.
what should I do? Is it safe?
In official documentation:
https://xenforo.com/xf2-docs/manual/config/#data-and-script-locations
The configuration about this is in the Config.php file
$ config ['externalDataPath'] = 'data';
$ config ['externalDataUrl'] = 'http://cdn.example.com/data';
$ config ['internalDataPath'] = 'internal_data';
$ config ['internalDataUrl'] = 'http://cdn.example.com/internal_data';
After setup, the website will not work, and the avatar and attachments cannot be uploaded and read.
what should I do? Is it safe?