Snippets.page

Code snippets, tips, how-tos

Tag: nginx

  • Change the file upload size in NGINX

    When you have a PHP-based website like WordPress running on NGINX, you would typically change the maximum file upload size in PHP settings e.g., in php.ini file or similar. NGINX web server also has it’s own configuration where you can set the max upload size server-wide. This is set in the .conf file using the […]

    Read more

  • Get a Let’s Encrypt SSL certificate for your domain

    Install a free SSL certificate and serve your site with “https”. Let’s Encrypt provides free SSL certificates and with the help of the installation tool called Certbot, you can easily enable an HTTPS certificate for your website. These instructions are for users running either Nginx or Apache on Ubuntu server and have access to the […]

    Read more