You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the MAX_UPLOAD_SIZE feature for a virtualhost with 2 load-balanced upstream containers. It was broken because of nginx syntax error, as explained below.
The current nginx template will output as many client_max_body_size directives as there are containers, which means nginx -t will fail to parse the configuration in /etc/nginx/sites-enabled/default ; in the best case the old configuration will keep being used and in the worst case the container won't start at all.
I have proposed nginx-proxy#76 to solve the issue, feel free to port the fix to your fork too.
The text was updated successfully, but these errors were encountered:
I tried to use the
MAX_UPLOAD_SIZE
feature for a virtualhost with 2 load-balanced upstream containers. It was broken because of nginx syntax error, as explained below.The current nginx template will output as many client_max_body_size directives as there are containers, which means
nginx -t
will fail to parse the configuration in/etc/nginx/sites-enabled/default
; in the best case the old configuration will keep being used and in the worst case the container won't start at all.I have proposed nginx-proxy#76 to solve the issue, feel free to port the fix to your fork too.
The text was updated successfully, but these errors were encountered: