How to upload a file via a subdomain?
Hello everyone.
I need to upload large files to the server. Cloudflare does not allow this due to the 100 MB limit.
I use the FileUpload component. Unfortunately, it does not support uploading files in chunks. Therefore, the only option is to create a subdomain upload.domain.com and disable Cloudflare proxying for it.
How can I make the file upload through this subdomain? Or are there other solutions to the problem of Cloudflare limiting large files?
6 Replies
Help me please
what about using an external service as S3, DO spaces, etc?
If I use, for example, S3, then the file will be uploaded through my server, which means through my domain. Then this does not solve the problem. Or will it be uploaded to S3 not through the backend, but directly from the client?
😦
Check the livewire docs, you can actually bypass your server completely by changing the tmp directory in the livewire config.
This won't help.
One of two solutions is needed:
1. Upload to the server in chunks
2. Create a subdomain without Cloudflare proxy to upload the file
The first option cannot be done now. How to implement the second option?