SlideShare a Scribd company logo
5
Most read
6
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
Ad

Recommended

PDF
Red Hat Insights
Alessandro Silva
 
PDF
Best new features in windows server 2016
Tuan Yang
 
PPTX
Install and Configure NGINX Unit, the Universal Application, Web, and Proxy S...
NGINX, Inc.
 
PDF
Introduction openstack horizon
Jim Yeh
 
PDF
[TALK] Exokernel vs. Microkernel
Hawx Chen
 
PPT
Linux
Kevin James
 
PDF
Improve Android System Component Performance
National Cheng Kung University
 
PPTX
WebSphere Application Server Family (Editions Comparison)
ejlp12
 
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.
 
PPTX
NGINX Installation and Tuning
NGINX, Inc.
 
PDF
NGINX ADC: Basics and Best Practices
NGINX, Inc.
 

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)

PDF
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
mary rojas
 
PDF
Canva Pro Crack Free Download 2025-FREE LATEST
grete1122g
 
PPTX
Sap basis role in public cloud in s/4hana.pptx
htmlprogrammer987
 
PDF
Sysinfo OST to PST Converter Infographic
SysInfo Tools
 
PDF
Y - Recursion The Hard Way GopherCon EU 2025
Eleanor McHugh
 
PPTX
arctitecture application system design os dsa
za241967
 
PDF
Heat Treatment Process Automation in India
Reckers Mechatronics
 
PDF
Which Hiring Management Tools Offer the Best ROI?
HireME
 
DOCX
Best AI-Powered Wearable Tech for Remote Health Monitoring in 2025
SEOLIFT - SEO Company London
 
PDF
A Guide to Telemedicine Software Development.pdf
Olivero Bozzelli
 
PDF
University Campus Navigation for All - Peak of Data & AI
Safe Software
 
DOCX
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
 
PPTX
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
2nd Sight Lab
 
PDF
Digital Transformation: Automating the Placement of Medical Interns
Safe Software
 
PDF
From Data Preparation to Inference: How Alluxio Speeds Up AI
Alluxio, Inc.
 
PPTX
HYBRIDIZATION OF ALKANES AND ALKENES ...
karishmaduhijod1
 
PDF
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
PDF
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
 
PDF
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
 
PPTX
IDM Crack with Internet Download Manager 6.42 Build 41 [Latest 2025]
pcprocore
 
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
mary rojas
 
Canva Pro Crack Free Download 2025-FREE LATEST
grete1122g
 
Sap basis role in public cloud in s/4hana.pptx
htmlprogrammer987
 
Sysinfo OST to PST Converter Infographic
SysInfo Tools
 
Y - Recursion The Hard Way GopherCon EU 2025
Eleanor McHugh
 
arctitecture application system design os dsa
za241967
 
Heat Treatment Process Automation in India
Reckers Mechatronics
 
Which Hiring Management Tools Offer the Best ROI?
HireME
 
Best AI-Powered Wearable Tech for Remote Health Monitoring in 2025
SEOLIFT - SEO Company London
 
A Guide to Telemedicine Software Development.pdf
Olivero Bozzelli
 
University Campus Navigation for All - Peak of Data & AI
Safe Software
 
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
 
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
2nd Sight Lab
 
Digital Transformation: Automating the Placement of Medical Interns
Safe Software
 
From Data Preparation to Inference: How Alluxio Speeds Up AI
Alluxio, Inc.
 
HYBRIDIZATION OF ALKANES AND ALKENES ...
karishmaduhijod1
 
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
 
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
 
IDM Crack with Internet Download Manager 6.42 Build 41 [Latest 2025]
pcprocore
 

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.