How to install SSL on ngnix on Ubuntu

Hitesh Choudhary August 3, 2024
Video Thumbnail

About

No channel description available.

Video Description

Installing SSL on Nginx in Ubuntu is essential for securing your website with HTTPS. This guide walks you through the process, making it straightforward and accessible, even for beginners. First, ensure you have a valid domain name and configure your DNS A record. Next, install Certbot and the Nginx plugin using the command: ‘sudo apt install certbot python3-certbot-nginx’. This combination automates the SSL certificate acquisition and integration with Nginx. After installation, configure your Nginx server by editing the default server file, replacing ‘localhost’ with your domain name under the server_name directive. Validate your Nginx configuration using ‘sudo nginx -t’. Finally, obtain your SSL certificate with Certbot, which will prompt you to enter your email and agree to terms. Once the certificate is installed, your site will be accessible via HTTPS. Regularly renew your SSL certificate using Certbot's automatic renewal features or manually if necessary. By following these steps, you can easily secure your site with SSL on Ubuntu using Nginx. Tools used in this course: Terminal : https://www.warp.dev/ VPS used: Linode and Digital Ocean Docs: https://docs.chaicode.com Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. Get all source code for react application: https://github.com/hiteshchoudhary/react-english All source code is available at my Github account: https://github.com/hiteshchoudhary Our Open-Source Project is here: https://freeapi.app Join me at whatsapp: https://hitesh.ai/whatsapp for community discord: https://hitesh.ai/discord Instagram pe yaha paaye jaate h: https://www.instagram.com/hiteshchoudharyofficial/ Learn React with 10 projects: https://www.youtube.com/watch?v=eCU7FfMl5WU&list=PLRAV69dS1uWQos1M1xP6LWN6C-lZvpkmq Learn Docker: https://youtu.be/rr9cI4u1_88?si=fSK00PNOt0gqBXp6 Learn Kubernetes: https://www.youtube.com/watch?v=7XDeI5fyj3w How does a browser works: https://youtu.be/5rLFYtXHo9s?si=UW1HrwGUzkk4E7qh How nodejs works: https://youtu.be/ooBxSg1Cl1w?si=Ks6Wih1smJZSDz4V Learn Redux-toolkit: https://www.youtube.com/watch?v=pX0SBJF01EU Learn NextJS: https://www.youtube.com/watch?v=iPGXk-i-VYU&list=PLRAV69dS1uWR7KF-zV6YPYtKYEHENETyE Learn Typescript: https://www.youtube.com/watch?v=j89BvWz8Eag&list=PLRAV69dS1uWRPSfKzwZsIm-Axxq-LxqhW Learn Javascript: https://www.youtube.com/watch?v=2md4HQNRqJA&list=PLRAV69dS1uWSxUIk5o3vQY2-_VKsOpXLD Learn React Native: https://www.youtube.com/watch?v=kGtEax1WQFg&list=PLRAV69dS1uWSjBBJ-egNNOd4mdblt1P4c Learn Zustand: https://www.youtube.com/watch?v=KCr-UNsM3vA&list=PLRAV69dS1uWQMXekDgw7fRAsHmsbKWkwu Learn Golang: https://www.youtube.com/watch?v=X4q1OM0voO0&list=PLRAV69dS1uWSR89FRQGZ6q9BR2b44Tr9N

Gaming PC Build Essentials

AI-recommended products based on this video

Loading...
Skytech Archangel Gaming PC Desktop – AMD Ryzen 5 3600 3.6 GHz, NVIDIA RTX 3060, 1TB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

Skytech Archangel Gaming PC Desktop – AMD Ryzen 5 3600 3.6 GHz, NVIDIA RTX 3060, 1TB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

(31)
$2,657.01$2,656.90
FREE delivery Feb 24 - Mar 3
Loading...
Acer Nitro V 16 AI Gaming Laptop, 16" WUXGA 180Hz Display, AMD Ryzen 5 240, GeForce RTX 5050, 16GB DDR5, 512GB SSD, Backlit Keyboard, Copilot, Wi-Fi 6E, Win 11, Black, 1TB Docking Station Set

Acer Nitro V 16 AI Gaming Laptop, 16" WUXGA 180Hz Display, AMD Ryzen 5 240, GeForce RTX 5050, 16GB DDR5, 512GB SSD, Backlit Keyboard, Copilot, Wi-Fi 6E, Win 11, Black, 1TB Docking Station Set

(40)
$1,399.00
FREE delivery Feb 24 - Mar 5
Loading...
ASUS TUF Gaming A15 Gaming Laptop, 15.6” 144Hz FHD Display, AMD Ryzen 5 7535HS Processor, GeForce RTX 2050, 8GB DDR5 RAM, 512GB PCIe SSD Gen 4, Wi-Fi 6, Windows 11, FA506NF-AS51-CA

ASUS TUF Gaming A15 Gaming Laptop, 15.6” 144Hz FHD Display, AMD Ryzen 5 7535HS Processor, GeForce RTX 2050, 8GB DDR5 RAM, 512GB PCIe SSD Gen 4, Wi-Fi 6, Windows 11, FA506NF-AS51-CA

(156)
$799.00$759.05
FREE delivery Mon, Feb 16
Loading...
BOSGAME E4 Mini PC, Ryzen 5 3550H Mini Computers, 16GB DDR4 1TB PCIe SSD, Dual RJ45 LAN, 4K Triple Display, USB-C & USB 3.2, Wi-Fi 5 & BT 5.0, Desktop Computers for Office, Home, Streaming

BOSGAME E4 Mini PC, Ryzen 5 3550H Mini Computers, 16GB DDR4 1TB PCIe SSD, Dual RJ45 LAN, 4K Triple Display, USB-C & USB 3.2, Wi-Fi 5 & BT 5.0, Desktop Computers for Office, Home, Streaming

(188)
$399.00
FREE delivery Sat, Jan 3
Loading...
MSI B550-A PRO ProSeries Motherboard (AMD AM4, DDR4, PCIe 4.0, SATA 6Gb/s, M.2, USB 3.2 Gen 2, HDMI/DP, ATX)

MSI B550-A PRO ProSeries Motherboard (AMD AM4, DDR4, PCIe 4.0, SATA 6Gb/s, M.2, USB 3.2 Gen 2, HDMI/DP, ATX)

(3,680)
$139.99$103.22
FREE delivery Sat, Jan 3
100+ bought in past month
Loading...
Corsair Vengeance LPX 32GB (2 X 16GB) DDR4 3200 (PC4-25600) C16 1.35V Desktop Memory - Black
Best Seller

Corsair Vengeance LPX 32GB (2 X 16GB) DDR4 3200 (PC4-25600) C16 1.35V Desktop Memory - Black

(16,675)
$112.99$101.69
FREE delivery Sun, Aug 10
500+ bought in past month
Loading...
Gigabyte GeForce RTX 3060 Ti Vision OC 8GB V2 LHR Graphics Card

Gigabyte GeForce RTX 3060 Ti Vision OC 8GB V2 LHR Graphics Card

(106)
$2,588.43
FREE delivery Feb 24 - Mar 3Only 3 left in stock.
Loading...
GIGABYTE GeForce RTX 3060 Ti Vision OC 8G Graphics Card, WINDFORCE 3X Cooling System, LHR, 8GB 256-bit GDDR6, GV-N306TVISION OC-8GD REV2.0 Video Card

GIGABYTE GeForce RTX 3060 Ti Vision OC 8G Graphics Card, WINDFORCE 3X Cooling System, LHR, 8GB 256-bit GDDR6, GV-N306TVISION OC-8GD REV2.0 Video Card

(287)
$2,588.43
Loading...
78MM PLD08010S12HH for Cooling Fan for Gigabyte RTX 3060 3070 Gaming Ti Eagle Graphics Card Cooler T128010SU

78MM PLD08010S12HH for Cooling Fan for Gigabyte RTX 3060 3070 Gaming Ti Eagle Graphics Card Cooler T128010SU

(0)
$36.41
FREE delivery Mar 19 - Apr 10
Loading...
Laptop Parts 78mm T128010SU RTX3060 3060Ti Graphics Fan for GIGABYTE for GeForce RTX 3060 Ti Vision OC 3X for WINDFORCE Video Card(C)

Laptop Parts 78mm T128010SU RTX3060 3060Ti Graphics Fan for GIGABYTE for GeForce RTX 3060 Ti Vision OC 3X for WINDFORCE Video Card(C)

(0)
$36.97
FREE delivery Mar 19 - Apr 10
Loading...
Corsair RM1000e Fully Modular Low-Noise ATX Power Supply - Dual EPS12V Connectors - 105°C-Rated Capacitors - 80 Plus Gold Efficiency - Modern Standby Support - Black

Corsair RM1000e Fully Modular Low-Noise ATX Power Supply - Dual EPS12V Connectors - 105°C-Rated Capacitors - 80 Plus Gold Efficiency - Modern Standby Support - Black

(41)
$219.19$204.66
FREE delivery Oct 15 - 22
Loading...
Corsair RM1200x Shift Fully Modular ATX Power Supply - Modular Side Interface - ATX 3.1 & PCIe 5.1 Compliant - Zero RPM Fan Mode - 105°C-Rated Capacitors - 80 Plus Gold Efficiency - Black, 1200W

Corsair RM1200x Shift Fully Modular ATX Power Supply - Modular Side Interface - ATX 3.1 & PCIe 5.1 Compliant - Zero RPM Fan Mode - 105°C-Rated Capacitors - 80 Plus Gold Efficiency - Black, 1200W

(25)
$254.98$203.98
FREE delivery Wed, Oct 8
50+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Skytech Archangel Gaming PC Desktop – AMD Ryzen 5 3600 3.6 GHz, NVIDIA RTX 3060, 1TB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

Skytech Archangel Gaming PC Desktop – AMD Ryzen 5 3600 3.6 GHz, NVIDIA RTX 3060, 1TB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

(31)
$2,657.01$2,656.90
FREE delivery Feb 24 - Mar 3
Loading...
Skytech Blaze 3.0 Gaming PC Desktop – Intel Core i5 12400F 2.5 GHz, NVIDIA RTX 3060, 500GB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

Skytech Blaze 3.0 Gaming PC Desktop – Intel Core i5 12400F 2.5 GHz, NVIDIA RTX 3060, 500GB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

(786)
$1,414.11
FREE delivery Thu, Feb 19Only 4 left in stock.
Loading...
STGAubron Gaming PC Desktop Computer, Intel Core i7 8th Gen up to 4.1G, GeForce RTX 3060 12G, 32GB DDR4, 2TB SSD, WiFi 6, BT 5.0, RGB Fan x9, Windows 11 Home

STGAubron Gaming PC Desktop Computer, Intel Core i7 8th Gen up to 4.1G, GeForce RTX 3060 12G, 32GB DDR4, 2TB SSD, WiFi 6, BT 5.0, RGB Fan x9, Windows 11 Home

(89)
$1,424.99
FREE delivery Mon, Feb 16
Loading...
RTX 2060 8GB Super Graphics Card 256Bit GDDR6 Video Card with Ray Tracing, Dual Fans, PCI Express x 16 3.0 HDMI Display Port DVI, Supports Up to 8K for PC Gaming Office Creative Work

RTX 2060 8GB Super Graphics Card 256Bit GDDR6 Video Card with Ray Tracing, Dual Fans, PCI Express x 16 3.0 HDMI Display Port DVI, Supports Up to 8K for PC Gaming Office Creative Work

(18)
$466.03$457.88
FREE delivery Feb 17 - 19