gilyes / docker-nginx-letsencrypt-sample

Dockerized Nginx + Let's Encrypt sample
https://gilyes.com/docker-nginx-letsencrypt
384 stars 185 forks source link

File upload size #13

Closed Sch-Tomi closed 5 years ago

Sch-Tomi commented 6 years ago

Hi!

Im lost a little bit. I need to set a client_max_body_size paramter for the proxy (i hope). So if im right i have to edit the nginx.tmpl file. Could you help me out where should i put this line?

Btw Thanks for the repo its really useful :)

gilyes commented 6 years ago

I think you could either add that setting directly to all server blocks in nginx.tmpl or follow the instructions in https://github.com/jwilder/nginx-proxy#proxy-wide to add custom config files that are pulled in by nginx.tmpl (examples there are docker run commands so you'll likely want to convert those to mappings in yourdocker-compose.yml).

Sch-Tomi commented 6 years ago

Thanks! Its worked :+1:

TwiN commented 5 years ago

@Sch-Tomi could you close the issue if your problem has been resolved?

Sch-Tomi commented 5 years ago

Ofc sry