Disabling Uploads
-
Hello, I am new, and did not see this question answered really anywhere or an answer on the web.
How would you disable file upload on your server.
I know where the path is in the yamlI am asking this question as I only have so much space, and would not like to rely on the users to delete there uploads.
I hope that my question was clear.
Thank you!
-
You can customize the settings in
/app/data/configs/homeserver.yaml
https://docs.cloudron.io/apps/synapse/#customizations . For this you can open the File Browser (in the console section) and edit the file (config/homeserver.yaml).Looks like there is a field named
max_upload_size
as per https://github.com/matrix-org/synapse/blob/master/docs/sample_config.yaml#L847. Maybe try setting to 0 and restart the server? -
@girish
So i did actually set it to zero before and commented out the nginx file path.
So that killed it. IN THE PASTBut setting the upload to 0MB in the config and restarted.
It actually worked. Wow!
Thanks for having a functioning forum and the speedy response!