Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5230 Widoki

Want to limit the upload size within 3MB on Attachment of discussion thread

and have try to setting parameters "web.max_file_upload_size", but it doesn't work.

How to limit "max file upload size" on AttachmentBox


Awatar
Odrzuć
Najlepsza odpowiedź

You can set the file limit size in your Nginx configuration inside server block:

server {

    ...

    client_max_body_size 20M; # adjust based on your desire

    ...

}

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lut 17
5954
1
lip 24
7581
5
maj 23
15733
2
gru 23
5862
1
maj 22
2872