Рет қаралды 2,432
Linux bootcamp: Learn how to host multiple websites on single linux server. For this demo, we will focus on setting up multiple websites on nginx. You will also learn about selinux policy, semanage, getsebool, setsebool in linux. The key concept in this video is about reverse proxy in nginx.
key learning topics: configure semanage to open ports, fix 403 permission denied error nginx , semanage linux, host websites on different ports in nginx.
How to setup a web server in Linux: • How to setup a Linux w...
Option 2: How to configure with Domain Name : • How to point a domain ...
Chapters:
00:00 Introduction
01:53 Understand nginx configuration file
06:12 Links Concept: Hard link & soft links
08:45 OPTION 1: PORT METHOD: Create directories, conf files and inks
13:15 Modify Nginx.Conf to load other conf files
14:22 Create index.html files for test websites
17:23 Firewall-Cmd : Open ports
18:29 JournalCtl : Read log errors for nginx
20:16 SEMANAGE: Open ports for binding
23:24 SETSEBOOL: Change boolean options
26:00 SEMANAGE PERMISSIVE & ENFORCED MODE: Understand the need
30:40 CHCON: Setup folder context for nginx
34:15 TEST: Check multiple websites on Nginx
34:36 OPTION 2: DOMAIN NAME METHOD: How to configure with domain name?