Here are the general steps you can follow: Install OpenSSL on your local machine, if it is not already installed. OpenSSL is a command-line tool used to generate the certificate. Generate a self-signed certificate using the following command: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.crt This command will generate a private key (localhost.key) and a self-signed certificate (localhost.crt) that is valid for 365 days. During the process, you’ll be prompted to enter some information about the certificate, such as the Common Name (CN), which should be set to localhost in this case....
Nohup With Busybox httpd Nohup is a command that allows you to run another command in the background, even after you log out of the terminal. It is often used to run long-running processes without being interrupted by a terminal session ending.
Example Usage nohup busybox httpd -f -p 8080 & This command starts a simple HTTP server using BusyBox’s httpd command, serving files from the current directory on port 8080....
To get started with NGINX Open Source or NGINX Plus, you first need to install it on a system and learn some basics.
Installing on Debian/Ubuntu Create a file named /etc/apt/sources.list.d/nginx.list that contains the following contents:
sudo nano /etc/apt/sources.list.d/nginx.list content of nginx.list
deb http://nginx.org/packages/mainline/OS/ CODENAME nginx deb-src http://nginx.org/packages/mainline/OS/ CODENAME nginx check you system OS and CODENAME
lsb_release -a the file nginx.list should be look like below
# comment deb http://nginx.org/packages/mainline/ubuntu/ focal nginx deb-src http://nginx....