All posts in Linux

Install NVM CentOS

Step #1: Install NVM (Node Version Manager) Use the following curl command to kick-off the install script: curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash At the time of publication, NVM v0.25.0 was the most recent version available. You should check the GitHub project page for the latest release of NVM, and adjust the . . . Read more

Cài letsencrypt trên nginx

Update: Using Free Let’s Encrypt SSL/TLS Certificates with NGINX Prerequisites Before starting with Let’s Encrypt, you need to: Have NGINX or NGINX Plus installed. Own or control the registered domain name for the certificate. If you don’t have a registered domain name, you can use a domain name registrar, such as GoDaddy or dnsexit. Create a DNS record that . . . Read more

Nginx request entity too large

If you’re getting 413 Request Entity Too Large errors trying to upload with nginx.net/, you need to increase the size limit in nginx.conf . Add ‘client_max_body_size xxM’ inside the server section, where xx is the size (in megabytes) that you want to allow. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 . . . Read more