Laravel Nginx configuration

server { listen 80; listen [::]:80; root /var/www/html/jdk/public; index index.php index.html index.htm index.nginx-debian.html; server_name example.com www.example.com; location / { try_files $uri $uri/ /index.php?$query_string; } location ~ \.php$ { include snippets/fastcgi-php.conf; […]

Continue Reading

Installing NVM on LINUX

apt-get update apt-get install build-essential libssl-dev curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash curl https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash source ~/.profile nvm –version

Continue Reading