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
4929 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
5727
1
lip 24
7153
5
maj 23
15525
2
gru 23
5563
1
maj 22
2711