SlideShare a Scribd company logo
NGINX Plus R8 – what’s new
OWEN GARRETT
Building a great application
is only half the battle,
delivering the application
is the other half.
The modern web requires
a new approach
to application delivery
Flawless Application Delivery
for the Modern Web
4
Load Balancer Monitoring &
Management
Web ServerContent Cache Streaming Media
MORE INFORMATION AT
NGINX.COM
What’s New?
NGINX Plus R8
● OAuth2 Technology Preview
○ Industry standard for user identity management
○ NGINX Plus can offload processing of it from the
application
● Fully production supported HTTP/2
○ Hardened based on real word usage
○ Confidently move to HTTP/2 in production
● Persistent on-the-fly reconfiguration API
○ A better way to do service discovery
● Scalable caching for large video files
○ Segment rather than file based caching
● Improved health checking and other new features
1
OAuth2
MORE INFORMATION AT
NGINX.COM
● Technology behind Facebook, Google, etc. logins
● High level workflow
• User clicks on “Login In with Facebook” button on airbnb
• User logins to Facebook (authorization server)
• User sent back to airbnb with “Access Token”
• airbnb validates “Access Token” and extracts user info
● A better user experience
• Less passwords
• More secure
What is OAuth2?
From airbnb.com
MORE INFORMATION AT
NGINX.COM
How OAuth2 is implemented today
● Facebook/Google provide a JavaScript SDK to developers (front end)
• Other identity providers may require implementation of OAuth as back end code
● Developers bake SDK in to application
● Usually a separate login mechanism exists for the legacy application-internal password
database
● The problem with this approach:
• Authentication tasks handled by developers and app servers
• Supporting multiple identity providers requires integration with multiple SDKs
• How does all this work with the legacy password database?
MORE INFORMATION AT
NGINX.COM
Why NGINX Plus for OAuth2?
NGINX Plus offloads OAuth2 from the application
MORE INFORMATION AT
NGINX.COM
Why NGINX Plus for OAuth2?
● Offload the OAuth2 workflow from the application
• Less work for developers and application servers
● Consolidate OAuth2 authentication and move it to the edge
• Rather than on each application server
● NGINX Plus does all the work and passes the decoded “Access Token” to the application
• User info extracted and put into standard HTTP headers
• Application can easily consume HTTP headers
• Application can be agnostic to whether Facebook or Google was used
• Existing password database can be converted to send HTTP headers so that a single
mechanism can be used at the back end, regardless of identity provider
MORE INFORMATION AT
NGINX.COM
Why Technology Preview?
● OAuth2 code is not part of the NGINX Plus binary
• External Python script
• Leverages NGINX http_auth_request module
● Not recommended for production deployments
• Take the demo app and play with it
• Customers encouraged to integrate their apps in development environment
● Plan is for a future NGINX Plus release to have a fully supported implementation
● Only Facebook and Google supported in this release
2
Production-
ready HTTP/2
MORE INFORMATION AT
NGINX.COM
http://w3techs.com/technologies/details/ce-http2/all/all
HTTP/2 usage growing steadily
MORE INFORMATION AT
NGINX.COM
http://w3techs.com/technologies/segmentation/ce-http2/web_server
NGINX is the #1 Web Server for HTTP/2
MORE INFORMATION AT
NGINX.COM
http://caniuse.com/#feat=spdy
Browsers support for HTTP/2 is catching up with SPDY
MORE INFORMATION AT
NGINX.COM
http://caniuse.com/#feat=http2
Browsers support for HTTP/2 is catching up with SPDY
MORE INFORMATION AT
NGINX.COM
Why NGINX Plus for HTTP/2?
• HTTP/2 Gateway - HTTP/2 translated back into a protocol existing app servers can understand
• Backwards Compatibility - HTTP/2 and HTTP/1.x supported side-by-side
MORE INFORMATION AT
NGINX.COM
• Fully Production Supported
• Hardened based on internal and real world testing
• bug fixes, tweaks, etc.
• Part of main nginx-plus and nginx-plus-extras package
• SPDY support removed from NGINX Plus
• For you
• The most stable and battle tested implementation available
• Move to HTTP/2 with confidence
So what’s new?
3
Persistent
on-the-fly
Reconfiguration
MORE INFORMATION AT
NGINX.COM
• HTTP-based API to add, remove, or modify servers without restarting NGINX or touching a
config file
• Why is this useful?
• Quick, temporary changes to load-balancing configuration
• No need to reload NGINX Plus – preserve state, stats, no burst in resource usage
• Simple security model - no need to access configuration and restart NGINX
On-the-fly Reconfiguration – an existing API in NGINX Plus
MORE INFORMATION AT
NGINX.COM
• It’s persistent- changes are no longer temporary:
• New configuration directive to define a file that holds the current servers and what state they
are in
• API updates modify state in-memory and update state file in case of a restart
What’s new in R8?
upstream backend {
zone backend 64k;
state /etc/nginx/conf.d/backend.state;
}
MORE INFORMATION AT
NGINX.COM
What does this have to do with service discovery?
The problem
• Existing solutions:
• Rely on configuration templates and restarting NGINX for each change
• Require root access to NGINX servers
• Not scalable if done repeatedly throughout each day, especially if using
long lived connections (e.g. websockets)
MORE INFORMATION AT
NGINX.COM
What does this have to do with service discovery?
• Services all register
with a central
repository
• NGINX can
automatically create
routes to new service
instances, and scale
existing services
MORE INFORMATION AT
NGINX.COM
What does this have to do with service discovery?
The solution
• With NGINX Plus:
• Use on-the-fly reconfiguration API instead of config templates
• Easily scalable with no restarting
• In Action: Pre-built demo
• Consul integrated with NGINX Plus on-the-fly reconfiguration
• nginx.com/consul-r8
4
Scalable caching
for video
MORE INFORMATION AT
NGINX.COM
• When watching video on the internet we:
• Rewind
• Fast forward
• Skip to the end
• End early
• In general, watch it non sequentially
• When we cache in NGINX, it is done sequentially:
• Can cause delays with non-sequential watching
• Whole file has to be cached before it can be served out of the cache to other users
Scalable caching for video
MORE INFORMATION AT
NGINX.COM
• Slice the video files into
small fragments
• Cache the small fragments
• No more delays!
Scalable caching for video
MORE INFORMATION AT
NGINX.COM
proxy_cache_path /tmp/mycache keys_zone=mycache:10m;
location / {
slice 1m;
proxy_cache mycache;
proxy_cache_key $uri$is_args$args$slice_range;
proxy_set_header Range $slice_range;
proxy_cache_valid 200 206 1h;
proxy_pass http://localhost:8000;
}
Scalable caching for video
• $slice_range added to cache key to differentiate between fragments
• Overwrite Range header as user range request may not match up with NGINX
https://www.nginx.com/blog/smart-efficient-byte-range-caching-nginx/
5
... and more!
MORE INFORMATION AT
NGINX.COM
• Specify Health Check port - New port
parameter allows NGINX to use a different port
for health checks. Monitor many services on the
same host.
Even more features
location / {
proxy_pass http://backend;
health_check port=8080;
}
• HEAD request caching - Cached as standard GET requests by default. A HEAD request is
identical to a standard GET request, except that the response body is not returned. Useful for
testing links for validity, accessibility, and recent modification.
• New variable, $realip_remote_addr, original client IP address with the Real IP module.
• Syslog - The new nohostname parameter to the access_log and error_log directives
disables logging of the hostname field to syslog; the hostname is unnecessary when logging
to a local syslog server.
MORE INFORMATION AT
NGINX.COM
The following modules in the NGINX Plus Extras package have been updated:
• The Headers-More module is updated to 0.28
• The Lua module is updated to 0.9.20
• The Phusion Passenger Open Source module is updated to 5.0.22
• The Redis module is updated to 0.21
The following packages will no longer be built:
• nginx-plus-http2 - HTTP/2 support is now rolled into the nginx-plus and nginx-plus-extras
packages. SPDY is no longer supported with NGINX Plus
• nginx-plus-lua - For Lua support, please use the nginx-plus-extras package
Housekeeping
Summary
MORE INFORMATION AT
NGINX.COM
Summary
• OAuth2 Technology Preview can offload OAuth2 complexities from the application
• Fully production supported HTTP/2 from the #1 web server for HTTP/2
• Persistent on-the-fly reconfiguration for better service discovery
• Scalable caching for large video files
• … and many more features to help you achieve flawless application delivery faster
MORE INFORMATION AT
NGINX.COM
Next steps
Upgrade to NGINX Plus R8
• apt-get install / yum install nginx-plus
Enable HTTP/2
• listen 443 ssl http2;
Configure your dashboard and persistent state
Try out the NGINX OAuth2 technology preview
• nginx.com/oauth-r8
MORE INFORMATION AT
NGINX.COM
• NGINX Plus R8 overview with code samples
• nginx.com/r8
• An overview of the OAuth Technology preview along with a demo app
• nginx.com/oauth-r8
• Smart and efficient byte range caching with NGINX Plus
• nginx.com/caching-r8
• Scalable service discovery with NGINX Plus R8 and Consul
• nginx.com/consul-r8
Learn more

More Related Content

PPTX
What's New in NGINX Plus R7?
PPTX
Load Balancing and Scaling with NGINX
PDF
What's New in NGINX Plus R12?
PDF
Lcu14 Lightning Talk- NGINX
PPTX
Supercharge Application Delivery to Satisfy Users
PPTX
Maximizing PHP Performance with NGINX
PPTX
NGINX Installation and Tuning
PPTX
Drupal 8 and NGINX
What's New in NGINX Plus R7?
Load Balancing and Scaling with NGINX
What's New in NGINX Plus R12?
Lcu14 Lightning Talk- NGINX
Supercharge Application Delivery to Satisfy Users
Maximizing PHP Performance with NGINX
NGINX Installation and Tuning
Drupal 8 and NGINX

What's hot (20)

PPTX
Benchmarking NGINX for Accuracy and Results
ODP
Introduction to Nginx
PDF
NGINX ADC: Basics and Best Practices
PPTX
The 3 Models in the NGINX Microservices Reference Architecture
PPTX
High Availability Content Caching with NGINX
PPTX
NGINX: Basics and Best Practices
PDF
NGINX: Basics and Best Practices EMEA
KEY
Nginx in production
PPTX
NGINX for Application Delivery & Acceleration
PPTX
Microservices and Container Management with NGINX Plus and Mesosphere DC/OS
PPTX
MRA AMA Part 10: Kubernetes and the Microservices Reference Architecture
PPTX
What's new in NGINX Plus R19
PDF
Monitoring Highly Dynamic and Distributed Systems with NGINX Amplify
PPTX
NGINX: HTTP/2 Server Push and gRPC
PPTX
What's New in NGINX Plus R10?
PPTX
What’s New in NGINX Ingress Controller for Kubernetes Release 1.5.0
PPTX
Analyzing NGINX Logs with Datadog
PPTX
What's new in NGINX Plus R9
PPTX
Delivering High Performance Websites with NGINX
PDF
Nginx Essential
Benchmarking NGINX for Accuracy and Results
Introduction to Nginx
NGINX ADC: Basics and Best Practices
The 3 Models in the NGINX Microservices Reference Architecture
High Availability Content Caching with NGINX
NGINX: Basics and Best Practices
NGINX: Basics and Best Practices EMEA
Nginx in production
NGINX for Application Delivery & Acceleration
Microservices and Container Management with NGINX Plus and Mesosphere DC/OS
MRA AMA Part 10: Kubernetes and the Microservices Reference Architecture
What's new in NGINX Plus R19
Monitoring Highly Dynamic and Distributed Systems with NGINX Amplify
NGINX: HTTP/2 Server Push and gRPC
What's New in NGINX Plus R10?
What’s New in NGINX Ingress Controller for Kubernetes Release 1.5.0
Analyzing NGINX Logs with Datadog
What's new in NGINX Plus R9
Delivering High Performance Websites with NGINX
Nginx Essential
Ad

Similar to What's New in NGINX Plus R8 (20)

PDF
What’s New in NGINX Plus R15? - EMEA
PDF
What’s New in NGINX Plus R16? – EMEA
PPTX
NGINX Plus R18: What's new
PPTX
NGINX Plus R20 Webinar EMEA
PPTX
NGINX Plus R20 Webinar
PDF
NGINX: The Past, Present and Future of the Modern Web
PDF
ITB2017 - Nginx ppf intothebox_2017
PDF
NGINX Plus R19 : EMEA
PPTX
What’s New in NGINX Plus R15?
PPTX
Dynamic SSL Certificates and Other New Features in NGINX Plus R18 and NGINX O...
PPTX
What's New in HTTP/2
PDF
What is Nginx and Why You Should to Use it with Wordpress Hosting
PPTX
What’s New in NGINX Plus R16?
PPTX
NGINX Basics: Ask Me Anything – EMEA
PPTX
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
PDF
Kubernetes and the NGINX Plus Ingress Controller
PDF
NGINX ADC: Basics and Best Practices – EMEA
PPTX
Accelerating Your Web Application with NGINX
PDF
Complete-NGINX-Cookbook-2019.pdf
PPTX
5 things you didn't know nginx could do
What’s New in NGINX Plus R15? - EMEA
What’s New in NGINX Plus R16? – EMEA
NGINX Plus R18: What's new
NGINX Plus R20 Webinar EMEA
NGINX Plus R20 Webinar
NGINX: The Past, Present and Future of the Modern Web
ITB2017 - Nginx ppf intothebox_2017
NGINX Plus R19 : EMEA
What’s New in NGINX Plus R15?
Dynamic SSL Certificates and Other New Features in NGINX Plus R18 and NGINX O...
What's New in HTTP/2
What is Nginx and Why You Should to Use it with Wordpress Hosting
What’s New in NGINX Plus R16?
NGINX Basics: Ask Me Anything – EMEA
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
Kubernetes and the NGINX Plus Ingress Controller
NGINX ADC: Basics and Best Practices – EMEA
Accelerating Your Web Application with NGINX
Complete-NGINX-Cookbook-2019.pdf
5 things you didn't know nginx could do
Ad

More from NGINX, Inc. (20)

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

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
Teaching material agriculture food technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
KodekX | Application Modernization Development
PPTX
Cloud computing and distributed systems.
PPTX
sap open course for s4hana steps from ECC to s4
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Electronic commerce courselecture one. Pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Unlocking AI with Model Context Protocol (MCP)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Teaching material agriculture food technology
Per capita expenditure prediction using model stacking based on satellite ima...
Understanding_Digital_Forensics_Presentation.pptx
MYSQL Presentation for SQL database connectivity
Programs and apps: productivity, graphics, security and other tools
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
KodekX | Application Modernization Development
Cloud computing and distributed systems.
sap open course for s4hana steps from ECC to s4
“AI and Expert System Decision Support & Business Intelligence Systems”
Electronic commerce courselecture one. Pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectral efficient network and resource selection model in 5G networks
MIND Revenue Release Quarter 2 2025 Press Release
Network Security Unit 5.pdf for BCA BBA.
Unlocking AI with Model Context Protocol (MCP)

What's New in NGINX Plus R8

  • 1. NGINX Plus R8 – what’s new OWEN GARRETT
  • 2. Building a great application is only half the battle, delivering the application is the other half.
  • 3. The modern web requires a new approach to application delivery
  • 4. Flawless Application Delivery for the Modern Web 4 Load Balancer Monitoring & Management Web ServerContent Cache Streaming Media
  • 5. MORE INFORMATION AT NGINX.COM What’s New? NGINX Plus R8 ● OAuth2 Technology Preview ○ Industry standard for user identity management ○ NGINX Plus can offload processing of it from the application ● Fully production supported HTTP/2 ○ Hardened based on real word usage ○ Confidently move to HTTP/2 in production ● Persistent on-the-fly reconfiguration API ○ A better way to do service discovery ● Scalable caching for large video files ○ Segment rather than file based caching ● Improved health checking and other new features
  • 7. MORE INFORMATION AT NGINX.COM ● Technology behind Facebook, Google, etc. logins ● High level workflow • User clicks on “Login In with Facebook” button on airbnb • User logins to Facebook (authorization server) • User sent back to airbnb with “Access Token” • airbnb validates “Access Token” and extracts user info ● A better user experience • Less passwords • More secure What is OAuth2? From airbnb.com
  • 8. MORE INFORMATION AT NGINX.COM How OAuth2 is implemented today ● Facebook/Google provide a JavaScript SDK to developers (front end) • Other identity providers may require implementation of OAuth as back end code ● Developers bake SDK in to application ● Usually a separate login mechanism exists for the legacy application-internal password database ● The problem with this approach: • Authentication tasks handled by developers and app servers • Supporting multiple identity providers requires integration with multiple SDKs • How does all this work with the legacy password database?
  • 9. MORE INFORMATION AT NGINX.COM Why NGINX Plus for OAuth2? NGINX Plus offloads OAuth2 from the application
  • 10. MORE INFORMATION AT NGINX.COM Why NGINX Plus for OAuth2? ● Offload the OAuth2 workflow from the application • Less work for developers and application servers ● Consolidate OAuth2 authentication and move it to the edge • Rather than on each application server ● NGINX Plus does all the work and passes the decoded “Access Token” to the application • User info extracted and put into standard HTTP headers • Application can easily consume HTTP headers • Application can be agnostic to whether Facebook or Google was used • Existing password database can be converted to send HTTP headers so that a single mechanism can be used at the back end, regardless of identity provider
  • 11. MORE INFORMATION AT NGINX.COM Why Technology Preview? ● OAuth2 code is not part of the NGINX Plus binary • External Python script • Leverages NGINX http_auth_request module ● Not recommended for production deployments • Take the demo app and play with it • Customers encouraged to integrate their apps in development environment ● Plan is for a future NGINX Plus release to have a fully supported implementation ● Only Facebook and Google supported in this release
  • 17. MORE INFORMATION AT NGINX.COM Why NGINX Plus for HTTP/2? • HTTP/2 Gateway - HTTP/2 translated back into a protocol existing app servers can understand • Backwards Compatibility - HTTP/2 and HTTP/1.x supported side-by-side
  • 18. MORE INFORMATION AT NGINX.COM • Fully Production Supported • Hardened based on internal and real world testing • bug fixes, tweaks, etc. • Part of main nginx-plus and nginx-plus-extras package • SPDY support removed from NGINX Plus • For you • The most stable and battle tested implementation available • Move to HTTP/2 with confidence So what’s new?
  • 20. MORE INFORMATION AT NGINX.COM • HTTP-based API to add, remove, or modify servers without restarting NGINX or touching a config file • Why is this useful? • Quick, temporary changes to load-balancing configuration • No need to reload NGINX Plus – preserve state, stats, no burst in resource usage • Simple security model - no need to access configuration and restart NGINX On-the-fly Reconfiguration – an existing API in NGINX Plus
  • 21. MORE INFORMATION AT NGINX.COM • It’s persistent- changes are no longer temporary: • New configuration directive to define a file that holds the current servers and what state they are in • API updates modify state in-memory and update state file in case of a restart What’s new in R8? upstream backend { zone backend 64k; state /etc/nginx/conf.d/backend.state; }
  • 22. MORE INFORMATION AT NGINX.COM What does this have to do with service discovery? The problem • Existing solutions: • Rely on configuration templates and restarting NGINX for each change • Require root access to NGINX servers • Not scalable if done repeatedly throughout each day, especially if using long lived connections (e.g. websockets)
  • 23. MORE INFORMATION AT NGINX.COM What does this have to do with service discovery? • Services all register with a central repository • NGINX can automatically create routes to new service instances, and scale existing services
  • 24. MORE INFORMATION AT NGINX.COM What does this have to do with service discovery? The solution • With NGINX Plus: • Use on-the-fly reconfiguration API instead of config templates • Easily scalable with no restarting • In Action: Pre-built demo • Consul integrated with NGINX Plus on-the-fly reconfiguration • nginx.com/consul-r8
  • 26. MORE INFORMATION AT NGINX.COM • When watching video on the internet we: • Rewind • Fast forward • Skip to the end • End early • In general, watch it non sequentially • When we cache in NGINX, it is done sequentially: • Can cause delays with non-sequential watching • Whole file has to be cached before it can be served out of the cache to other users Scalable caching for video
  • 27. MORE INFORMATION AT NGINX.COM • Slice the video files into small fragments • Cache the small fragments • No more delays! Scalable caching for video
  • 28. MORE INFORMATION AT NGINX.COM proxy_cache_path /tmp/mycache keys_zone=mycache:10m; location / { slice 1m; proxy_cache mycache; proxy_cache_key $uri$is_args$args$slice_range; proxy_set_header Range $slice_range; proxy_cache_valid 200 206 1h; proxy_pass http://localhost:8000; } Scalable caching for video • $slice_range added to cache key to differentiate between fragments • Overwrite Range header as user range request may not match up with NGINX https://www.nginx.com/blog/smart-efficient-byte-range-caching-nginx/
  • 30. MORE INFORMATION AT NGINX.COM • Specify Health Check port - New port parameter allows NGINX to use a different port for health checks. Monitor many services on the same host. Even more features location / { proxy_pass http://backend; health_check port=8080; } • HEAD request caching - Cached as standard GET requests by default. A HEAD request is identical to a standard GET request, except that the response body is not returned. Useful for testing links for validity, accessibility, and recent modification. • New variable, $realip_remote_addr, original client IP address with the Real IP module. • Syslog - The new nohostname parameter to the access_log and error_log directives disables logging of the hostname field to syslog; the hostname is unnecessary when logging to a local syslog server.
  • 31. MORE INFORMATION AT NGINX.COM The following modules in the NGINX Plus Extras package have been updated: • The Headers-More module is updated to 0.28 • The Lua module is updated to 0.9.20 • The Phusion Passenger Open Source module is updated to 5.0.22 • The Redis module is updated to 0.21 The following packages will no longer be built: • nginx-plus-http2 - HTTP/2 support is now rolled into the nginx-plus and nginx-plus-extras packages. SPDY is no longer supported with NGINX Plus • nginx-plus-lua - For Lua support, please use the nginx-plus-extras package Housekeeping
  • 33. MORE INFORMATION AT NGINX.COM Summary • OAuth2 Technology Preview can offload OAuth2 complexities from the application • Fully production supported HTTP/2 from the #1 web server for HTTP/2 • Persistent on-the-fly reconfiguration for better service discovery • Scalable caching for large video files • … and many more features to help you achieve flawless application delivery faster
  • 34. MORE INFORMATION AT NGINX.COM Next steps Upgrade to NGINX Plus R8 • apt-get install / yum install nginx-plus Enable HTTP/2 • listen 443 ssl http2; Configure your dashboard and persistent state Try out the NGINX OAuth2 technology preview • nginx.com/oauth-r8
  • 35. MORE INFORMATION AT NGINX.COM • NGINX Plus R8 overview with code samples • nginx.com/r8 • An overview of the OAuth Technology preview along with a demo app • nginx.com/oauth-r8 • Smart and efficient byte range caching with NGINX Plus • nginx.com/caching-r8 • Scalable service discovery with NGINX Plus R8 and Consul • nginx.com/consul-r8 Learn more

Editor's Notes

  • #2: GP – you need to di endpoint management and traffic management for your microservices instances. Here’s why
  • #3: What drives us today is what has driven us from the beginning of the project: to make flawless application delivery easy for everyone – from the smallest, lightest apps up to the world’s largest platforms and experiences
  • #4: What drives us today is what has driven us from the beginning of the project: to make flawless application delivery easy for everyone – from the smallest, lightest apps up to the world’s largest platforms and experiences
  • #5: Our vision for the product is to provide flawless application delivery for the modern web.