A user new to Discourse, with no technical background, set up a LEMP stack and a Discourse instance via Docker. They noticed that settings for max image and attachment sizes require adjustments in NGINX and PHP, but since their Discourse droplet doesn’t have these installed, they’re unsure if those settings are automatically applied. JammyDodger clarifies that NGINX is already included in the Discourse Docker container, so no additional installation is needed. gerhard confirms that installing a LEMP stack on the same droplet dedicated to Discourse would add unnecessary complexity. The user concludes that their setup is sufficient as-is apgarapgarapgar.
To give you a brief overview, I don’t have any computer background as I work in healthcare. Nevertheless, I studied during my 4-day off and was able to setup a 2 droplets: 1 with a LEMP (MariaDB) stack and 1 with Discourse installed via docker. Much to my surprise, everything went well and I had learned a lot despite almost maxing out my brain cells.
As I was browsing the settings of my Discourse, I saw a note on the “max image size” and “max attachment size” saying that the configuration needs to be adjusted in NGINX and PHP. I was able to do this on my droplet with a LEMP stack for a website, but seeing that I don’t have NGINX and PHP installed on my Discourse droplet, does it mean that the values I put in those categories automatically become the defined limits? Or do I need to install another LEMP stack on this droplet to optimize the setup?