- Joined
- Jul 5, 2019
- Messages
- 606
- Reputation
- 372
XF 1.5 - Suddenly can't upload attachments/images
For some reason yet unknown I can no longer upload images or attachments to my website. When trying to upload something I receive this error in my browser console: bb_code_edit.js?_v=a17a5c6f:30 POST...
xenforo.com
It was caused by
Code:
#location ~* \.(?:manifest|appcache|html?|xml|json)$ {
# expires -1;
#}
In the nginx configuration which made json files 404, which broke the drag and drop upload functionality.