SSL Certificate for Use With Nginx on Localhost  [draft]

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....

March 27, 2023 · Marcin M

Nohup With Busybox httpd  [draft]

nohup busybox httpd -f -p 8080 & ps -ef | grep httpd sudo kill -9 1193 and run in difrent location nohup busybox httpd -f -p 8080 & Useful links:

September 4, 2022 · Marcin M

Install NGINX on Debian Ubuntu

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 CODENAME nginx deb-src CODENAME nginx check you system OS and CODENAME lsb_release -a the file nginx.list should be look like below # comment deb focal nginx deb-src http://nginx....

June 25, 2022 · Marcin M