I need to upload a large (~600MB) file to my shiny application, which is deployed on shinyapps.io. It throws an error:
<html> <head><title>413 Request Entity Too Large</title></head> <body bgcolor="white"> <center><h1>413 Request Entity Too Large</h1></center> <hr><center>nginx</center> </body>
This has been discussed before (e.g., https://stackoverflow.com/questions/49666900/413-request-error-while-using-shiny), where the suggested solution is to add
options(shiny.maxRequestSize = 9000*1024^2)
to the code. But this doesn't solve the issue. It's the nginx that is causing the issue, and according to a comment on the SO, client_max_body_size needs to also be changed. How can I do this on my app?
I have attached a screenshot of my app just in case.