SlideShare a Scribd company logo
6
Most read
7
Most read
8
Most read
Install and Configure
NGINX Open Source
Robert Haynes - NGINX
©2022 F5
2
1. Housekeeping – (Q&A, resources, window sizing, lab access)
2. NGINX Overview
3. Steps to install NGINX
4. What can you do with NGINX?
5. Configuring NGINX
6. Quick Lab Demo
7. Over to you! - Hands on lab
Welcome!
©2022 F5
3
>70%
10,000 busiest
websites
440M+
websites and apps
OPEN SOURCE FOOTPRINT
NGINX powers the Internet . . . and most enterprises!
PROVEN
= 1 Million
©2022 F5
4
NGINX Open Source
Fast, Flexible, Portable
Webserver
High performance web server
Load Balancer
Lightweight but powerful
Reverse Proxy
For HTTP and other protocols
Kubernetes Ingress
Traffic management for k8s apps
©2022 F5
5
NGINX Plus
Enterprise-Class Data Plane
NGINX Open Source
Fast, Flexible, Portable
©2022 F5
6
NGINX Installation Steps
Install pre-requisite packages
Add NGINX Signing key
Add NGINX repository
Install NGINX
Start NGINX
©2022 F5
7
NGINX Installation Steps
Add NGINX repository
Default installs will install from the distribution
provider’s repository
Configure the package management system to
pull NGINX from the NGINX official repository:
• More up to date
• Less likely to have known CVE’s
• Get the latest features and optimizations
Why this step?
©2022 F5
8
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
http {
## lots of default config goes here
## Delete for readability
include /etc/nginx/conf.d/*.conf;
}
NGINX Configuration Files (default)
server {
listen 80 http;
location / {
proxy_pass http://192.168.49.2;
}
server {
listen 8080 http;
root /www/data;
location / {
root /www/mysite/data;
}
/etc/nginx/conf.d/default.conf
/etc/nginx/conf.d/foo.conf
/etc/nginx/nginx.conf
©2022 F5
9
What Can you do with NGINX? – A Webserver
server{…}
location / {…}
/var/foo/html
/opt/www/bar
©2022 F5
10
What Can you do with NGINX? – A Load Balancer
server{…} location / {…}
/var/foo/html
/opt/www/bar
Server A
Server b
server{…}
server{…}
©2022 F5
11
Lab Demo
©2022 F5
12
Over to You!
Installing and Configuring NGINX Open Source

More Related Content

What's hot (20)

PDF
Domino Server Health - Monitoring and Managing
Gabriella Davis
 
PPTX
Introduction to ansible
Omid Vahdaty
 
PPTX
How to Avoid the Top 5 NGINX Configuration Mistakes
NGINX, Inc.
 
PPTX
Artifacts management with DevOps
Chen-Tien Tsai
 
PDF
Linux Presentation
nishantsri
 
PDF
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
Troublemaker Khunpech
 
PDF
OVS Hardware Offload with TC Flower
Netronome
 
PPTX
Virtual machine
IGZ Software house
 
PDF
Read-only rootfs: theory and practice
Chris Simmonds
 
PDF
Virtual Machines
Joa Ebert
 
PDF
Alphorm.com Formation Docker (1/2) : Installation et Administration
Alphorm
 
PPTX
CI-CD WITH GITLAB WORKFLOW
AddWeb Solution Pvt. Ltd.
 
PPT
Docker introduction
Phuc Nguyen
 
PDF
Receive side scaling (RSS) with eBPF in QEMU and virtio-net
Yan Vugenfirer
 
PDF
Monitoring in CloudStack
ShapeBlue
 
PPTX
Jenkins for java world
Ashok Kumar
 
PPTX
Jenkins CI
Viyaan Jhiingade
 
ODP
eBPF maps 101
SUSE Labs Taipei
 
PDF
Course 102: Lecture 27: FileSystems in Linux (Part 2)
Ahmed El-Arabawy
 
PPTX
Cgroups, namespaces and beyond: what are containers made from?
Docker, Inc.
 
Domino Server Health - Monitoring and Managing
Gabriella Davis
 
Introduction to ansible
Omid Vahdaty
 
How to Avoid the Top 5 NGINX Configuration Mistakes
NGINX, Inc.
 
Artifacts management with DevOps
Chen-Tien Tsai
 
Linux Presentation
nishantsri
 
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
Troublemaker Khunpech
 
OVS Hardware Offload with TC Flower
Netronome
 
Virtual machine
IGZ Software house
 
Read-only rootfs: theory and practice
Chris Simmonds
 
Virtual Machines
Joa Ebert
 
Alphorm.com Formation Docker (1/2) : Installation et Administration
Alphorm
 
CI-CD WITH GITLAB WORKFLOW
AddWeb Solution Pvt. Ltd.
 
Docker introduction
Phuc Nguyen
 
Receive side scaling (RSS) with eBPF in QEMU and virtio-net
Yan Vugenfirer
 
Monitoring in CloudStack
ShapeBlue
 
Jenkins for java world
Ashok Kumar
 
Jenkins CI
Viyaan Jhiingade
 
eBPF maps 101
SUSE Labs Taipei
 
Course 102: Lecture 27: FileSystems in Linux (Part 2)
Ahmed El-Arabawy
 
Cgroups, namespaces and beyond: what are containers made from?
Docker, Inc.
 

Similar to Installing and Configuring NGINX Open Source (20)

PPTX
NGINX Installation and Tuning
NGINX, Inc.
 
PDF
NGINX ADC: Basics and Best Practices
NGINX, Inc.
 
PDF
NGINX ADC: Basics and Best Practices – EMEA
NGINX, Inc.
 
PPTX
Basics of NGINX
Squash Apps Pvt Ltd
 
PDF
NGINX: Basics and Best Practices EMEA
NGINX, Inc.
 
PPTX
NGINX: Back to Basics – APCJ
NGINX, Inc.
 
ODP
Introduction to Nginx
Knoldus Inc.
 
PPTX
NGINX: Basics and Best Practices
NGINX, Inc.
 
PPTX
NGINX Basics: Ask Me Anything – EMEA
NGINX, Inc.
 
PDF
How to Get Started With NGINX
NGINX, Inc.
 
PDF
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
Ortus Solutions, Corp
 
PPTX
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX, Inc.
 
PDF
Complete-NGINX-Cookbook-2019.pdf
TomaszWojciechowski22
 
PPTX
NGINX 101 - now with more Docker
sarahnovotny
 
PPTX
NGINX 101 - now with more Docker
Sarah Novotny
 
PPTX
Accelerating Your Web Application with NGINX
Kevin Jones
 
PDF
Стажировка 2015. Разработка. Занятие 5. Использование nginx
7bits
 
PPTX
Load Balancing Container with Nginx
Kumar Mayank
 
PPTX
Analyzing NGINX Logs with Datadog
NGINX, Inc.
 
PPTX
5 things you didn't know nginx could do
sarahnovotny
 
NGINX Installation and Tuning
NGINX, Inc.
 
NGINX ADC: Basics and Best Practices
NGINX, Inc.
 
NGINX ADC: Basics and Best Practices – EMEA
NGINX, Inc.
 
Basics of NGINX
Squash Apps Pvt Ltd
 
NGINX: Basics and Best Practices EMEA
NGINX, Inc.
 
NGINX: Back to Basics – APCJ
NGINX, Inc.
 
Introduction to Nginx
Knoldus Inc.
 
NGINX: Basics and Best Practices
NGINX, Inc.
 
NGINX Basics: Ask Me Anything – EMEA
NGINX, Inc.
 
How to Get Started With NGINX
NGINX, Inc.
 
ITB2019 NGINX Overview and Technical Aspects - Kevin Jones
Ortus Solutions, Corp
 
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX, Inc.
 
Complete-NGINX-Cookbook-2019.pdf
TomaszWojciechowski22
 
NGINX 101 - now with more Docker
sarahnovotny
 
NGINX 101 - now with more Docker
Sarah Novotny
 
Accelerating Your Web Application with NGINX
Kevin Jones
 
Стажировка 2015. Разработка. Занятие 5. Использование nginx
7bits
 
Load Balancing Container with Nginx
Kumar Mayank
 
Analyzing NGINX Logs with Datadog
NGINX, Inc.
 
5 things you didn't know nginx could do
sarahnovotny
 
Ad

More from NGINX, Inc. (20)

PDF
【NGINXセミナー】 Ingressを使ってマイクロサービスの運用を楽にする方法
NGINX, Inc.
 
PDF
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
NGINX, Inc.
 
PDF
【NGINXセミナー】API ゲートウェイとしてのNGINX Plus活用方法
NGINX, Inc.
 
PPTX
Get Hands-On with NGINX and QUIC+HTTP/3
NGINX, Inc.
 
PPTX
Managing Kubernetes Cost and Performance with NGINX & Kubecost
NGINX, Inc.
 
PDF
Manage Microservices Chaos and Complexity with Observability
NGINX, Inc.
 
PDF
Accelerate Microservices Deployments with Automation
NGINX, Inc.
 
PDF
Unit 2: Microservices Secrets Management 101
NGINX, Inc.
 
PDF
Unit 1: Apply the Twelve-Factor App to Microservices Architectures
NGINX, Inc.
 
PDF
NGINX基本セミナー(セキュリティ編)~NGINXでセキュアなプラットフォームを実現する方法!
NGINX, Inc.
 
PDF
Easily View, Manage, and Scale Your App Security with F5 NGINX
NGINX, Inc.
 
PDF
NGINXセミナー(基本編)~いまさら聞けないNGINXコンフィグなど基本がわかる!
NGINX, Inc.
 
PDF
Keep Ahead of Evolving Cyberattacks with OPSWAT and F5 NGINX
NGINX, Inc.
 
PPTX
Protecting Apps from Hacks in Kubernetes with NGINX
NGINX, Inc.
 
PPTX
NGINX Kubernetes API
NGINX, Inc.
 
PPTX
Successfully Implement Your API Strategy with NGINX
NGINX, Inc.
 
PPTX
Shift Left for More Secure Apps with F5 NGINX
NGINX, Inc.
 
PPTX
How to Avoid the Top 5 NGINX Configuration Mistakes.pptx
NGINX, Inc.
 
PDF
Kubernetes環境で実現するWebアプリケーションセキュリティ
NGINX, Inc.
 
PDF
Software Delivery and the Rube Goldberg Machine: What Is the Problem We Are T...
NGINX, Inc.
 
【NGINXセミナー】 Ingressを使ってマイクロサービスの運用を楽にする方法
NGINX, Inc.
 
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
NGINX, Inc.
 
【NGINXセミナー】API ゲートウェイとしてのNGINX Plus活用方法
NGINX, Inc.
 
Get Hands-On with NGINX and QUIC+HTTP/3
NGINX, Inc.
 
Managing Kubernetes Cost and Performance with NGINX & Kubecost
NGINX, Inc.
 
Manage Microservices Chaos and Complexity with Observability
NGINX, Inc.
 
Accelerate Microservices Deployments with Automation
NGINX, Inc.
 
Unit 2: Microservices Secrets Management 101
NGINX, Inc.
 
Unit 1: Apply the Twelve-Factor App to Microservices Architectures
NGINX, Inc.
 
NGINX基本セミナー(セキュリティ編)~NGINXでセキュアなプラットフォームを実現する方法!
NGINX, Inc.
 
Easily View, Manage, and Scale Your App Security with F5 NGINX
NGINX, Inc.
 
NGINXセミナー(基本編)~いまさら聞けないNGINXコンフィグなど基本がわかる!
NGINX, Inc.
 
Keep Ahead of Evolving Cyberattacks with OPSWAT and F5 NGINX
NGINX, Inc.
 
Protecting Apps from Hacks in Kubernetes with NGINX
NGINX, Inc.
 
NGINX Kubernetes API
NGINX, Inc.
 
Successfully Implement Your API Strategy with NGINX
NGINX, Inc.
 
Shift Left for More Secure Apps with F5 NGINX
NGINX, Inc.
 
How to Avoid the Top 5 NGINX Configuration Mistakes.pptx
NGINX, Inc.
 
Kubernetes環境で実現するWebアプリケーションセキュリティ
NGINX, Inc.
 
Software Delivery and the Rube Goldberg Machine: What Is the Problem We Are T...
NGINX, Inc.
 
Ad

Recently uploaded (20)

PPT
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
PDF
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PDF
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PPTX
Perfecting XM Cloud for Multisite Setup.pptx
Ahmed Okour
 
PDF
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
PPTX
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
PPTX
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
PPTX
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PPTX
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PPTX
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
PPTX
Platform for Enterprise Solution - Java EE5
abhishekoza1981
 
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
Perfecting XM Cloud for Multisite Setup.pptx
Ahmed Okour
 
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
Tally software_Introduction_Presentation
AditiBansal54083
 
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
Platform for Enterprise Solution - Java EE5
abhishekoza1981
 

Installing and Configuring NGINX Open Source

  • 1. Install and Configure NGINX Open Source Robert Haynes - NGINX
  • 2. ©2022 F5 2 1. Housekeeping – (Q&A, resources, window sizing, lab access) 2. NGINX Overview 3. Steps to install NGINX 4. What can you do with NGINX? 5. Configuring NGINX 6. Quick Lab Demo 7. Over to you! - Hands on lab Welcome!
  • 3. ©2022 F5 3 >70% 10,000 busiest websites 440M+ websites and apps OPEN SOURCE FOOTPRINT NGINX powers the Internet . . . and most enterprises! PROVEN = 1 Million
  • 4. ©2022 F5 4 NGINX Open Source Fast, Flexible, Portable Webserver High performance web server Load Balancer Lightweight but powerful Reverse Proxy For HTTP and other protocols Kubernetes Ingress Traffic management for k8s apps
  • 5. ©2022 F5 5 NGINX Plus Enterprise-Class Data Plane NGINX Open Source Fast, Flexible, Portable
  • 6. ©2022 F5 6 NGINX Installation Steps Install pre-requisite packages Add NGINX Signing key Add NGINX repository Install NGINX Start NGINX
  • 7. ©2022 F5 7 NGINX Installation Steps Add NGINX repository Default installs will install from the distribution provider’s repository Configure the package management system to pull NGINX from the NGINX official repository: • More up to date • Less likely to have known CVE’s • Get the latest features and optimizations Why this step?
  • 8. ©2022 F5 8 user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; # multi_accept on; } http { ## lots of default config goes here ## Delete for readability include /etc/nginx/conf.d/*.conf; } NGINX Configuration Files (default) server { listen 80 http; location / { proxy_pass http://192.168.49.2; } server { listen 8080 http; root /www/data; location / { root /www/mysite/data; } /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/foo.conf /etc/nginx/nginx.conf
  • 9. ©2022 F5 9 What Can you do with NGINX? – A Webserver server{…} location / {…} /var/foo/html /opt/www/bar
  • 10. ©2022 F5 10 What Can you do with NGINX? – A Load Balancer server{…} location / {…} /var/foo/html /opt/www/bar Server A Server b server{…} server{…}

Editor's Notes

  • #4: First a quick word about NGINX. Our technology powers over 440 million websites, including 70% of the ten thousand busiest sites, so it’s fair to say we have a pretty good understanding of servicing applications. A substantial number of them are served form google cloud.
  • #6: What you might not know is that alongside our Opensource webserver we have also built an enterprise grade reverse proxy, webserver, loadbalancer called NGINX plus ## , which comes with additional features, better performance, plus enterprise grade support. We’ve extended NGINX plus ## with a number of companion products and integrations, some of which I’m going to talk about today.