Frontend Configuration - myantandco/RA-BitnobiPilotJuly2020 GitHub Wiki

DockerCompose configuration

Nginx configuration

Nginx is used by Bitnobi to serve up the HTML, CSS and Javascript files to the browser. It is part of the ra-bitnobi-frontend container. Nginx also acts as a reverse-proxy to pass along API requests to the ra-bitnobi-backend container.

The configuration for nginx can be found in the file:

~/ra-bitnobi/nginx/templates/default.conf.template

Normally you should not change anything here, however you may need to adjust client_max_body_size setting to accomodate the maximum file size that you can upload to Bitnobi. If you attempt to upload a file larger than the client_max_body_size you will get the error:

Entity too large, File size exceeding the maximum file size.

The default setting during deployment is 1000M (i.e. 1 GB).

⚠️ **GitHub.com Fallback** ⚠️