How to create symlink folder in ubuntu

Updated: 12th December 2022
Tags: ubuntu nginx

For example we have our folder in /etc/nginx/sites-available/ And to make virtual symlink folder here /etc/nginx/sites-enabled we run this

sudo ln -s /etc/nginx/sites-available/ /etc/nginx/sites-enabled/

Remove index.php from url nginx laravel

Updated: 8th June 2022
Tags: nginx php

Nginx test config and reload

Updated: 24th November 2020
Tags: nginx

Fast command to test nginx config and reload nginx if test is successful

sudo nginx -t && sudo nginx -s reload

Install PHP 7.4 on Nginx Ubuntu 18.04

Updated: 4th December 2019
Tags: php php-fpm nginx