YunoHost-Apps / redirect_ynh

Redirection app for YunoHost
GNU Affero General Public License v3.0
44 stars 21 forks source link

Have an option to allow large uploads #4

Open arthurlutz opened 7 years ago

arthurlutz commented 7 years ago

For a site I need to add

  client_max_body_size 10G;

to the nginx options... how could this become an option ? or a generic mechanism to that an advanced user can add custom nginx rules or options ? Will the customized version of the config file be ovewritten at some point ?

scith commented 7 years ago

Hi, This app sets a generic Nginx file that is supposed to work in most circumstances. Unfortunatenly, it cannot accommodate specific cases easily.

I suggest you try customize the file located at /etc/nginx/conf.d/YOURDOMAIN.d/YOURREDIRECT.conf There is also a topic on the forum where you can share your customized nginx file, which could help other users too https://forum.yunohost.org/t/redirect-ynh-share-your-case-examples-and-config/2182

Would that work? Thanks :+1:

gamersalpha commented 5 years ago

Hello I for thé dame problème

Maybe Can add a option attend thé installation for this paramètre

Merci

opi commented 5 years ago

Good idea to have a "custom rule" option during installation. Anyone feel free to contribute, I don't have so much time for this app nowdays