For questions about how Ueditor implements file upload to an independent server through frontend and backend separation, please kindly advise, ueditor
Recently, due to the load balancing of multiple servers on the website, files uploaded by the editor need to be synchronized. However, the synchronization software is too slow and impractical. Therefore, it is expected that files uploaded by the editor can be directly uploaded to the independent file server. However, I did not expect it to happen.
1. Add the website UeditorWeb in local IIS and add 127.0.0.1 UeditorWeb.com to the hosts file.
2. config. json settings
3. Modify ueditor. config. js
In my opinion, this configuration is complete, and the following is the situation:
1. Graffiti can be displayed normally,
2. A single image can be uploaded successfully, but an "Upload error" is reported ",
3. Upload of multiple images, attachments, and videos fails. (The IE browser reports "http Error" and the Firefox browser reports "Upload Failed. Please try again ")
Please give me some advice !!!
The following is my personal project source code: