Maxmum upload size

I edited discourse.conf inside the app container to set 512m max upload size. I set 512m in the Admin panel also. But I cannot upload a PDF 30 MB in size as Discourse says ‘512m maximum allowed’. Which does not seem right.

What to do? Have I edited the wrong nginx configuration file?

Urk - after a reboot the dsiscourse.conf file reverts to the original. No wonder it does not work. But what causes this replacement?

2 likes

Ah - I just found out about using ‘outlets’ to make permanent nginx changes. I feel confident with enough trying I can get that going.

1 like

It’s as simple as an app.yml change:

(In addition to the setting)

1 like