SlideShare a Scribd company logo
MORE INFORMATION AT NGINX.COM
MORE INFORMATION AT NGINX.COM
Who are we?
Floyd Smith
Technical Marketing Writer
Formerly:
•  HSBC, Apple, AltaVista
•  Author, including WordPress in
Depth
Kunal Pariani
Pre-sales engineer
Faisal Memon
Product Marketer
Patrick Nommensen
Digital Marketing Manager
MORE INFORMATION AT NGINX.COM
nginx.conf
September 7th-9th
Austin, Texas – first time out of the Bay!
www.nginx.com/nginxconf
Code: MEETUP
50% off 2-day and All-Access passes
Final day is training
MORE INFORMATION AT NGINX.COM
Good/bad/good news
Good	
  news:	
  I	
  do	
  have	
  some	
  WordPress	
  2ps,	
  and	
  can	
  point	
  you	
  to	
  
more.	
  
	
  
Bad	
  news:	
  I’ll	
  take	
  a	
  roundabout	
  route	
  to	
  get	
  there.	
  	
  
	
  
Good	
  news:	
  By	
  the	
  end	
  you’ll	
  have	
  a	
  very	
  good	
  idea	
  of	
  your	
  op2ons.	
  
	
  
Resources:	
  
1.  Our	
  master	
  NGINX/WordPress	
  2ps	
  ar2cle	
  
2.  Fresh	
  start	
  with	
  microservices	
  
3.  “NGINX	
  WordPress”	
  is	
  a	
  surprisingly	
  fruiMul	
  search	
  
MORE INFORMATION AT NGINX.COM
What will we not do?
Some questions for you all...
•  Your sites
•  Your nightmares
•  Your NGINX knowledge and use
•  Open source NGINX and NGINX
Plus
6
And now,
a little bit about NGINX...
7
MORE INFORMATION AT NGINX.COM
“… when I started NGINX, I
focused on a very specific
problem – how to handle
more customers per a
single server.”
- Igor Sysoev, NGINX creator and founder
MORE INFORMATION AT NGINX.COM
“I wanted people to use it,
so I made it open source.”
MORE INFORMATION AT NGINX.COM
•  First OSS release in 2004
•  Company founded in 2011
•  VC-backed by industry
leaders
•  500+ Customers
•  75+ Employees
Igor Sysoev, NGINX creator and founder
What is NGINX?
Internet
Webserver
Serve content from disk
Application Gateway
FastCGI, uWSGI, Passenger…
Reverse Proxy
Caching, Load Balancing…
HTTP traffic
High Concurrency for Web Scale
Source: Webfaction Blog: http://blog.webfaction.com/2008/12/a-little-holiday-present-10000-reqssec-with-nginx-2/
Low Memory Use Drives Performance
Source:	
  Webfac2on	
  Blog:	
  hOp://blog.webfac2on.com/2008/12/a-­‐liOle-­‐holiday-­‐present-­‐10000-­‐reqssec-­‐with-­‐nginx-­‐2/	
  
NGINX has become
the heart of the modern web
14
160 milliontotal sites
running on NGINX
15Source: Netcraft June 2015 Web Server Survey
51%of the Top 10,000
most visited websites
16Source: W3Techs Web Technology Survey
36%of all sites on
Amazon Web Services
17Source: W3Techs December 2013 Web Server Survey
18
Building a great application
is only half the battle,
delivering the application
is the other half.
19
MORE INFORMATION AT NGINX.COM
ü  Application Load Balancing
•  Round Robin? Least time? Least Connections?
ü  Automated Failover
ü  Session Persistence and Slow Restart
ü  Advanced Cache Controls
ü  Content switching and request routing
#1: Load Balancing and Caching
NGINX Plus features
•  SSL everywhere
•  Authentication
•  Whitelist, Blacklists, GEOIp
•  Set up smart access limits:
–  Request limiting
–  Bandwidth controls
–  Limit connections
#2: Security & Access Control
ü  Enable developers to control app delivery!
•  Manage configurations with every deployment
ü  On-the-fly load-balancing configuration
•  React in real time!
ü  No down time with live binary updates
ü  Live activity monitoring – via GUI, API, JSON
•  Enable remote logging (with syslog)
NGINX Plus feature
#3: Monitoring & Management
•  Extended HTTP status ✓
•  JSON Response ✓
•  Plug-ins for Dynatrace,
New Relic, DataDog, etc.
NGINX Plus feature
#4: Advanced Statistics
MORE INFORMATION AT NGINX.COM
WordPress is Huge
About	
  a	
  quarter	
  of	
  all	
  sites	
  are	
  now	
  built	
  on	
  
open-­‐source	
  WordPress	
  soVware,	
  including	
  
sites	
  for	
  eBay,	
  Mozilla,	
  RackSpace,	
  TechCrunch,	
  
CNN,	
  MTV,	
  the	
  New	
  York	
  Times,	
  the	
  Wall	
  
Street	
  Journal.	
  
WordPress.com,	
  the	
  most	
  popular	
  site	
  for	
  
user-­‐created	
  blogs,	
  also	
  runs	
  on	
  WordPress	
  
open	
  source	
  soVware.	
  
NGINX	
  powers	
  WordPress.com.	
  	
  
MORE INFORMATION AT NGINX.COM
Easy, Hard, and Optimal Solutions
The	
  easy	
  solu)on	
  is	
  to	
  totally	
  re-­‐imagine	
  the	
  
situa2on	
  and	
  not	
  change	
  your	
  core	
  code	
  and	
  
configura2on	
  at	
  all.	
  Costs	
  some	
  $	
  but	
  no	
  
trouble.	
  	
  
The	
  hard	
  solu)on	
  is	
  to	
  change	
  your	
  webserver	
  
and	
  reconfigure	
  a	
  bunch	
  of	
  stuff,	
  without	
  
spending	
  a	
  dime.	
  	
  
The	
  op)mal	
  solu)on	
  is,	
  all	
  of	
  the	
  above.	
  	
  
MORE INFORMATION AT NGINX.COM
The LAMP Bottleneck
Two	
  main	
  causes	
  of	
  boOlenecks	
  are:	
  
•  The	
  Apache	
  web	
  server	
  –	
  Apache	
  consumes	
  
substan2al	
  resources	
  for	
  each	
  and	
  every	
  
connec2on.	
  Memory	
  can	
  be	
  exhausted	
  and	
  
performance	
  slows	
  because	
  data	
  has	
  to	
  be	
  
paged	
  back	
  and	
  forth	
  to	
  disk.	
  
•  The	
  PHP/MySQL	
  interac)on	
  –	
  Together,	
  an	
  
applica2on	
  server	
  running	
  PHP	
  and	
  a	
  
MySQL	
  database	
  server	
  can	
  serve	
  a	
  
maximum	
  number	
  of	
  requests	
  per	
  second.	
  
When	
  the	
  number	
  of	
  requests	
  exceeds	
  the	
  
maximum,	
  users	
  have	
  to	
  wait.	
  Exceeding	
  
the	
  maximum	
  can	
  cause	
  significant	
  
performance	
  problems.	
  
MORE INFORMATION AT NGINX.COM
Reverse Proxy Server Plus Caching
Three	
  tricks	
  in	
  one:	
  
•  Reverse	
  Proxy	
  Server	
  –	
  
Move	
  user	
  I/O	
  to	
  an	
  
external	
  server.	
  
•  Cache	
  Sta)c	
  Files	
  –	
  
Move	
  JPEGs,	
  CSS	
  files	
  
etc.	
  to	
  the	
  reverse	
  proxy	
  
server.	
  
•  Cache	
  Dynamic	
  Files	
  –	
  
Get	
  current	
  content	
  for	
  
non-­‐logged-­‐in	
  users	
  
once	
  per	
  second.	
  Then	
  
for	
  10/50/100	
  requests	
  
per	
  second,	
  serve	
  the	
  
(briefly)	
  cached	
  file.	
  	
  
MORE INFORMATION AT NGINX.COM
OPEN SOURCE
PLUS
FEATURES
REQUEST ROUTING COMPRESSION LOAD BALANCING APP HEALTH MONITORING GUI VISUALIZATION
SSL EMBEDDED SCRIPT LANGUAGE EDGE CACHE MEDIA STREAMING MONITORING ANALYTICS CONFIGURATION RESTFUL API
What’s inside NGINX Plus?
30
MORE INFORMATION AT NGINX.COM
The LEMP Solution
Two	
  steps	
  to	
  LEMP:	
  
•  Replace	
  LAMP	
  (Linux-­‐Apache-­‐MySQL-­‐PHP)	
  with	
  LEMP	
  (Linux-­‐(e)NGINX-­‐MySQL-­‐PHP)	
  	
  	
  
–	
  NGINX	
  is	
  faster	
  and	
  more	
  stable.	
  
•  Make	
  Needed	
  Updates:	
  
1.	
  Permalinks	
  instead	
  of	
  .htaccess	
  	
  2.	
  Caching	
  with	
  FastCGI	
  Cache	
  etc.	
  	
  
3.	
  Implement	
  security	
  precau2ons	
  4.	
  Configure	
  WordPress	
  Mul2site	
  w/proper	
  file	
  
structure	
  
MORE INFORMATION AT NGINX.COM
1. Permalink Support for NGINX
•  Why	
  .htaccess	
  is	
  bad	
  
•  NGINX	
  config	
  
	
  
server {
server_name example.com www.example.com;
root /var/www/example.com/htdocs;
index index.php;
 
access_log /var/log/nginx/
example.com.access.log;
error_log /var/log/nginx/
example.com.error.log;
location / {
try_files $uri $uri/ /index.php?
$args;
}
}
MORE INFORMATION AT NGINX.COM
2. Configure NGINX for FastCGI (or ...)
•  FastCGI	
  is	
  most	
  popular	
  and	
  most	
  flexible	
  
•  W3	
  Total	
  Cache,	
  WP	
  Super	
  Cache,	
  and	
  others	
  work	
  well	
  too	
  	
  
	
  
fastcgi_cache_path /var/run/nginx-cache levels=1:2
keys_zone=WORDPRESS:100m inactive=60m;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
 
server {
server_name example.com www.example.com;
root /var/www/example.com/htdocs;
index index.php;
access_log /var/log/nginx/example.com.access.log;
error_log /var/log/nginx/example.com.error.log;
set $skip_cache 0;
# POST requests and URLs with a query string should always go to PHP…
	
  
MORE INFORMATION AT NGINX.COM
3. Secure NGINX
•  Best	
  to	
  do	
  this	
  at	
  reverse	
  proxy	
  server	
  *and*	
  at	
  webserver	
  
	
  
# Restrict access to WordPress dashboard
location /wp-admin {
deny 192.192.9.9;
allow 192.192.1.0/24;
allow 10.1.1.0/16;
deny all;
# Deny access to uploads that aren’t images, videos, music, etc.
location ~* ^/wp-content/uploads/.*.(html|htm|shtml|php|js|swf)$ {
deny all;
}
	
  
App Delivery
ControllerDatabase
App Servers
Web Servers
N
You can add us to your current stack today
App Delivery
ControllerStorage
App Servers
Web Servers
N
N
N
You can add us to your current stack today
MORE INFORMATION AT NGINX.COM
Or... Eff it, let’s just do microservices
Moving from monolith to microservices
Application
Delivery
Monolithic
Application
Clustered
Database
Deployment
Platform
Architecture 38
Application delivery for microservices
NGINX is in each microservice,
ensuring they are:
•  Connected
•  Served
•  Authenticated
•  Secured
•  Cached
•  Load Balanced
•  Scaled
39
You can also use NGINX in your API Gateway
40
NGINX Plus provides:
•  Integration
•  Security
•  Request Routing
•  Optimization
•  Scalability
MORE INFORMATION AT NGINX.COM
Flawless application delivery made easy
41
Load Balancer Monitoring &
Management
Web ServerContent Cache Streaming Media
Thank You
nginx.com | @nginx

More Related Content

What's hot

Secure Your Apps with NGINX Plus and the ModSecurity WAF
Secure Your Apps with NGINX Plus and the ModSecurity WAFSecure Your Apps with NGINX Plus and the ModSecurity WAF
Secure Your Apps with NGINX Plus and the ModSecurity WAF
NGINX, Inc.
 
NGINX MRA Fabric Model Release and Ask Me Anything Part 4
NGINX MRA Fabric Model Release and Ask Me Anything Part 4NGINX MRA Fabric Model Release and Ask Me Anything Part 4
NGINX MRA Fabric Model Release and Ask Me Anything Part 4
NGINX, Inc.
 
NGINX for Application Delivery & Acceleration
NGINX for Application Delivery & AccelerationNGINX for Application Delivery & Acceleration
NGINX for Application Delivery & Acceleration
NGINX, Inc.
 
Improve App Performance & Reliability with NGINX Amplify
Improve App Performance & Reliability with NGINX AmplifyImprove App Performance & Reliability with NGINX Amplify
Improve App Performance & Reliability with NGINX Amplify
NGINX, Inc.
 
NGINX Amplify: Monitoring NGINX with Advanced Filters and Custom Dashboards
NGINX Amplify: Monitoring NGINX with Advanced Filters and Custom DashboardsNGINX Amplify: Monitoring NGINX with Advanced Filters and Custom Dashboards
NGINX Amplify: Monitoring NGINX with Advanced Filters and Custom Dashboards
NGINX, Inc.
 
Overview of SSL: choose the option that's right for you
Overview of SSL: choose the option that's right for youOverview of SSL: choose the option that's right for you
Overview of SSL: choose the option that's right for you
Cloudflare
 
NGINX Microservices Reference Architecture: Ask Me Anything
NGINX Microservices Reference Architecture: Ask Me AnythingNGINX Microservices Reference Architecture: Ask Me Anything
NGINX Microservices Reference Architecture: Ask Me Anything
NGINX, Inc.
 
Managing Traffic Spikes This Holiday Season
Managing Traffic Spikes This Holiday Season Managing Traffic Spikes This Holiday Season
Managing Traffic Spikes This Holiday Season
Cloudflare
 
Benchmarking NGINX for Accuracy and Results
Benchmarking NGINX for Accuracy and ResultsBenchmarking NGINX for Accuracy and Results
Benchmarking NGINX for Accuracy and Results
NGINX, Inc.
 
DockerCon Live 2020 - Securing Your Containerized Application with NGINX
DockerCon Live 2020 - Securing Your Containerized Application with NGINXDockerCon Live 2020 - Securing Your Containerized Application with NGINX
DockerCon Live 2020 - Securing Your Containerized Application with NGINX
Kevin Jones
 
What's New in NGINX Plus R10?
What's New in NGINX Plus R10?What's New in NGINX Plus R10?
What's New in NGINX Plus R10?
NGINX, Inc.
 
Virus Bulletin 2012
Virus Bulletin 2012Virus Bulletin 2012
Virus Bulletin 2012Cloudflare
 
NGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service MeshNGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Inc.
 
NGINX Plus PLATFORM For Flawless Application Delivery
NGINX Plus PLATFORM For Flawless Application DeliveryNGINX Plus PLATFORM For Flawless Application Delivery
NGINX Plus PLATFORM For Flawless Application Delivery
Ashnikbiz
 
Botconf ppt
Botconf   pptBotconf   ppt
Botconf ppt
Cloudflare
 
Sullivan heartbleed-defcon22 2014
Sullivan heartbleed-defcon22 2014Sullivan heartbleed-defcon22 2014
Sullivan heartbleed-defcon22 2014
Cloudflare
 
Securing your web infrastructure
Securing your web infrastructureSecuring your web infrastructure
Securing your web infrastructure
WP Engine
 
Altitude San Francisco 2018: HTTP Invalidation Workshop
Altitude San Francisco 2018: HTTP Invalidation WorkshopAltitude San Francisco 2018: HTTP Invalidation Workshop
Altitude San Francisco 2018: HTTP Invalidation Workshop
Fastly
 
Latest Trends in Web Application Security
Latest Trends in Web Application SecurityLatest Trends in Web Application Security
Latest Trends in Web Application Security
Cloudflare
 
Fastly CEO Artur Bergman at Altitude NYC
Fastly CEO Artur Bergman at Altitude NYCFastly CEO Artur Bergman at Altitude NYC
Fastly CEO Artur Bergman at Altitude NYC
Fastly
 

What's hot (20)

Secure Your Apps with NGINX Plus and the ModSecurity WAF
Secure Your Apps with NGINX Plus and the ModSecurity WAFSecure Your Apps with NGINX Plus and the ModSecurity WAF
Secure Your Apps with NGINX Plus and the ModSecurity WAF
 
NGINX MRA Fabric Model Release and Ask Me Anything Part 4
NGINX MRA Fabric Model Release and Ask Me Anything Part 4NGINX MRA Fabric Model Release and Ask Me Anything Part 4
NGINX MRA Fabric Model Release and Ask Me Anything Part 4
 
NGINX for Application Delivery & Acceleration
NGINX for Application Delivery & AccelerationNGINX for Application Delivery & Acceleration
NGINX for Application Delivery & Acceleration
 
Improve App Performance & Reliability with NGINX Amplify
Improve App Performance & Reliability with NGINX AmplifyImprove App Performance & Reliability with NGINX Amplify
Improve App Performance & Reliability with NGINX Amplify
 
NGINX Amplify: Monitoring NGINX with Advanced Filters and Custom Dashboards
NGINX Amplify: Monitoring NGINX with Advanced Filters and Custom DashboardsNGINX Amplify: Monitoring NGINX with Advanced Filters and Custom Dashboards
NGINX Amplify: Monitoring NGINX with Advanced Filters and Custom Dashboards
 
Overview of SSL: choose the option that's right for you
Overview of SSL: choose the option that's right for youOverview of SSL: choose the option that's right for you
Overview of SSL: choose the option that's right for you
 
NGINX Microservices Reference Architecture: Ask Me Anything
NGINX Microservices Reference Architecture: Ask Me AnythingNGINX Microservices Reference Architecture: Ask Me Anything
NGINX Microservices Reference Architecture: Ask Me Anything
 
Managing Traffic Spikes This Holiday Season
Managing Traffic Spikes This Holiday Season Managing Traffic Spikes This Holiday Season
Managing Traffic Spikes This Holiday Season
 
Benchmarking NGINX for Accuracy and Results
Benchmarking NGINX for Accuracy and ResultsBenchmarking NGINX for Accuracy and Results
Benchmarking NGINX for Accuracy and Results
 
DockerCon Live 2020 - Securing Your Containerized Application with NGINX
DockerCon Live 2020 - Securing Your Containerized Application with NGINXDockerCon Live 2020 - Securing Your Containerized Application with NGINX
DockerCon Live 2020 - Securing Your Containerized Application with NGINX
 
What's New in NGINX Plus R10?
What's New in NGINX Plus R10?What's New in NGINX Plus R10?
What's New in NGINX Plus R10?
 
Virus Bulletin 2012
Virus Bulletin 2012Virus Bulletin 2012
Virus Bulletin 2012
 
NGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service MeshNGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service Mesh
 
NGINX Plus PLATFORM For Flawless Application Delivery
NGINX Plus PLATFORM For Flawless Application DeliveryNGINX Plus PLATFORM For Flawless Application Delivery
NGINX Plus PLATFORM For Flawless Application Delivery
 
Botconf ppt
Botconf   pptBotconf   ppt
Botconf ppt
 
Sullivan heartbleed-defcon22 2014
Sullivan heartbleed-defcon22 2014Sullivan heartbleed-defcon22 2014
Sullivan heartbleed-defcon22 2014
 
Securing your web infrastructure
Securing your web infrastructureSecuring your web infrastructure
Securing your web infrastructure
 
Altitude San Francisco 2018: HTTP Invalidation Workshop
Altitude San Francisco 2018: HTTP Invalidation WorkshopAltitude San Francisco 2018: HTTP Invalidation Workshop
Altitude San Francisco 2018: HTTP Invalidation Workshop
 
Latest Trends in Web Application Security
Latest Trends in Web Application SecurityLatest Trends in Web Application Security
Latest Trends in Web Application Security
 
Fastly CEO Artur Bergman at Altitude NYC
Fastly CEO Artur Bergman at Altitude NYCFastly CEO Artur Bergman at Altitude NYC
Fastly CEO Artur Bergman at Altitude NYC
 

Similar to What is Nginx and Why You Should to Use it with Wordpress Hosting

Maximizing PHP Performance with NGINX
Maximizing PHP Performance with NGINXMaximizing PHP Performance with NGINX
Maximizing PHP Performance with NGINX
NGINX, Inc.
 
Delivering High Performance Websites with NGINX
Delivering High Performance Websites with NGINXDelivering High Performance Websites with NGINX
Delivering High Performance Websites with NGINX
NGINX, Inc.
 
Drupal 8 and NGINX
Drupal 8 and NGINX Drupal 8 and NGINX
Drupal 8 and NGINX
NGINX, Inc.
 
Website & Internet + Performance testing
Website & Internet + Performance testingWebsite & Internet + Performance testing
Website & Internet + Performance testing
Roman Ananev
 
Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...
Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...
Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...
George White
 
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo MeetupSpeed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Ahmed Mohammed Nagdy
 
20 tips for website performance
20 tips for website performance20 tips for website performance
20 tips for website performance
Andrew Siemer
 
JS digest. Decemebr 2017
JS digest. Decemebr 2017JS digest. Decemebr 2017
JS digest. Decemebr 2017
ElifTech
 
12-Step Program for Scaling Web Applications on PostgreSQL
12-Step Program for Scaling Web Applications on PostgreSQL12-Step Program for Scaling Web Applications on PostgreSQL
12-Step Program for Scaling Web Applications on PostgreSQL
Konstantin Gredeskoul
 
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
Otto Kekäläinen
 
Web performance optimization - MercadoLibre
Web performance optimization - MercadoLibreWeb performance optimization - MercadoLibre
Web performance optimization - MercadoLibre
Pablo Moretti
 
Web performance mercadolibre - ECI 2013
Web performance   mercadolibre - ECI 2013Web performance   mercadolibre - ECI 2013
Web performance mercadolibre - ECI 2013
Santiago Aimetta
 
5 things you didn't know nginx could do velocity
5 things you didn't know nginx could do   velocity5 things you didn't know nginx could do   velocity
5 things you didn't know nginx could do velocity
sarahnovotny
 
Northeast PHP - High Performance PHP
Northeast PHP - High Performance PHPNortheast PHP - High Performance PHP
Northeast PHP - High Performance PHP
Jonathan Klein
 
WordPress performance tuning
WordPress performance tuningWordPress performance tuning
WordPress performance tuning
Vladimír Smitka
 
How to be Successful with Responsive Sites (Koombea & NGINX) - English
How to be Successful with Responsive Sites (Koombea & NGINX) - EnglishHow to be Successful with Responsive Sites (Koombea & NGINX) - English
How to be Successful with Responsive Sites (Koombea & NGINX) - English
Koombea
 
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
AD113  Speed Up Your Applications w/ Nginx and PageSpeedAD113  Speed Up Your Applications w/ Nginx and PageSpeed
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
edm00se
 
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 PotsdamFrom Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
Andreas Grabner
 
Background processing with hangfire
Background processing with hangfireBackground processing with hangfire
Background processing with hangfire
Aleksandar Bozinovski
 
5 things you didn't know nginx could do
5 things you didn't know nginx could do5 things you didn't know nginx could do
5 things you didn't know nginx could do
sarahnovotny
 

Similar to What is Nginx and Why You Should to Use it with Wordpress Hosting (20)

Maximizing PHP Performance with NGINX
Maximizing PHP Performance with NGINXMaximizing PHP Performance with NGINX
Maximizing PHP Performance with NGINX
 
Delivering High Performance Websites with NGINX
Delivering High Performance Websites with NGINXDelivering High Performance Websites with NGINX
Delivering High Performance Websites with NGINX
 
Drupal 8 and NGINX
Drupal 8 and NGINX Drupal 8 and NGINX
Drupal 8 and NGINX
 
Website & Internet + Performance testing
Website & Internet + Performance testingWebsite & Internet + Performance testing
Website & Internet + Performance testing
 
Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...
Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...
Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...
 
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo MeetupSpeed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
 
20 tips for website performance
20 tips for website performance20 tips for website performance
20 tips for website performance
 
JS digest. Decemebr 2017
JS digest. Decemebr 2017JS digest. Decemebr 2017
JS digest. Decemebr 2017
 
12-Step Program for Scaling Web Applications on PostgreSQL
12-Step Program for Scaling Web Applications on PostgreSQL12-Step Program for Scaling Web Applications on PostgreSQL
12-Step Program for Scaling Web Applications on PostgreSQL
 
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
 
Web performance optimization - MercadoLibre
Web performance optimization - MercadoLibreWeb performance optimization - MercadoLibre
Web performance optimization - MercadoLibre
 
Web performance mercadolibre - ECI 2013
Web performance   mercadolibre - ECI 2013Web performance   mercadolibre - ECI 2013
Web performance mercadolibre - ECI 2013
 
5 things you didn't know nginx could do velocity
5 things you didn't know nginx could do   velocity5 things you didn't know nginx could do   velocity
5 things you didn't know nginx could do velocity
 
Northeast PHP - High Performance PHP
Northeast PHP - High Performance PHPNortheast PHP - High Performance PHP
Northeast PHP - High Performance PHP
 
WordPress performance tuning
WordPress performance tuningWordPress performance tuning
WordPress performance tuning
 
How to be Successful with Responsive Sites (Koombea & NGINX) - English
How to be Successful with Responsive Sites (Koombea & NGINX) - EnglishHow to be Successful with Responsive Sites (Koombea & NGINX) - English
How to be Successful with Responsive Sites (Koombea & NGINX) - English
 
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
AD113  Speed Up Your Applications w/ Nginx and PageSpeedAD113  Speed Up Your Applications w/ Nginx and PageSpeed
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
 
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 PotsdamFrom Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
 
Background processing with hangfire
Background processing with hangfireBackground processing with hangfire
Background processing with hangfire
 
5 things you didn't know nginx could do
5 things you didn't know nginx could do5 things you didn't know nginx could do
5 things you didn't know nginx could do
 

Recently uploaded

Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 

Recently uploaded (20)

Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 

What is Nginx and Why You Should to Use it with Wordpress Hosting

  • 2. MORE INFORMATION AT NGINX.COM Who are we? Floyd Smith Technical Marketing Writer Formerly: •  HSBC, Apple, AltaVista •  Author, including WordPress in Depth Kunal Pariani Pre-sales engineer Faisal Memon Product Marketer Patrick Nommensen Digital Marketing Manager
  • 3. MORE INFORMATION AT NGINX.COM nginx.conf September 7th-9th Austin, Texas – first time out of the Bay! www.nginx.com/nginxconf Code: MEETUP 50% off 2-day and All-Access passes Final day is training
  • 4. MORE INFORMATION AT NGINX.COM Good/bad/good news Good  news:  I  do  have  some  WordPress  2ps,  and  can  point  you  to   more.     Bad  news:  I’ll  take  a  roundabout  route  to  get  there.       Good  news:  By  the  end  you’ll  have  a  very  good  idea  of  your  op2ons.     Resources:   1.  Our  master  NGINX/WordPress  2ps  ar2cle   2.  Fresh  start  with  microservices   3.  “NGINX  WordPress”  is  a  surprisingly  fruiMul  search  
  • 5. MORE INFORMATION AT NGINX.COM What will we not do?
  • 6. Some questions for you all... •  Your sites •  Your nightmares •  Your NGINX knowledge and use •  Open source NGINX and NGINX Plus 6
  • 7. And now, a little bit about NGINX... 7
  • 8. MORE INFORMATION AT NGINX.COM “… when I started NGINX, I focused on a very specific problem – how to handle more customers per a single server.” - Igor Sysoev, NGINX creator and founder
  • 9. MORE INFORMATION AT NGINX.COM “I wanted people to use it, so I made it open source.”
  • 10. MORE INFORMATION AT NGINX.COM •  First OSS release in 2004 •  Company founded in 2011 •  VC-backed by industry leaders •  500+ Customers •  75+ Employees Igor Sysoev, NGINX creator and founder
  • 11. What is NGINX? Internet Webserver Serve content from disk Application Gateway FastCGI, uWSGI, Passenger… Reverse Proxy Caching, Load Balancing… HTTP traffic
  • 12. High Concurrency for Web Scale Source: Webfaction Blog: http://blog.webfaction.com/2008/12/a-little-holiday-present-10000-reqssec-with-nginx-2/
  • 13. Low Memory Use Drives Performance Source:  Webfac2on  Blog:  hOp://blog.webfac2on.com/2008/12/a-­‐liOle-­‐holiday-­‐present-­‐10000-­‐reqssec-­‐with-­‐nginx-­‐2/  
  • 14. NGINX has become the heart of the modern web 14
  • 15. 160 milliontotal sites running on NGINX 15Source: Netcraft June 2015 Web Server Survey
  • 16. 51%of the Top 10,000 most visited websites 16Source: W3Techs Web Technology Survey
  • 17. 36%of all sites on Amazon Web Services 17Source: W3Techs December 2013 Web Server Survey
  • 18. 18
  • 19. Building a great application is only half the battle, delivering the application is the other half. 19
  • 20. MORE INFORMATION AT NGINX.COM
  • 21. ü  Application Load Balancing •  Round Robin? Least time? Least Connections? ü  Automated Failover ü  Session Persistence and Slow Restart ü  Advanced Cache Controls ü  Content switching and request routing #1: Load Balancing and Caching NGINX Plus features
  • 22. •  SSL everywhere •  Authentication •  Whitelist, Blacklists, GEOIp •  Set up smart access limits: –  Request limiting –  Bandwidth controls –  Limit connections #2: Security & Access Control
  • 23. ü  Enable developers to control app delivery! •  Manage configurations with every deployment ü  On-the-fly load-balancing configuration •  React in real time! ü  No down time with live binary updates ü  Live activity monitoring – via GUI, API, JSON •  Enable remote logging (with syslog) NGINX Plus feature #3: Monitoring & Management
  • 24. •  Extended HTTP status ✓ •  JSON Response ✓ •  Plug-ins for Dynatrace, New Relic, DataDog, etc. NGINX Plus feature #4: Advanced Statistics
  • 25.
  • 26. MORE INFORMATION AT NGINX.COM WordPress is Huge About  a  quarter  of  all  sites  are  now  built  on   open-­‐source  WordPress  soVware,  including   sites  for  eBay,  Mozilla,  RackSpace,  TechCrunch,   CNN,  MTV,  the  New  York  Times,  the  Wall   Street  Journal.   WordPress.com,  the  most  popular  site  for   user-­‐created  blogs,  also  runs  on  WordPress   open  source  soVware.   NGINX  powers  WordPress.com.    
  • 27. MORE INFORMATION AT NGINX.COM Easy, Hard, and Optimal Solutions The  easy  solu)on  is  to  totally  re-­‐imagine  the   situa2on  and  not  change  your  core  code  and   configura2on  at  all.  Costs  some  $  but  no   trouble.     The  hard  solu)on  is  to  change  your  webserver   and  reconfigure  a  bunch  of  stuff,  without   spending  a  dime.     The  op)mal  solu)on  is,  all  of  the  above.    
  • 28. MORE INFORMATION AT NGINX.COM The LAMP Bottleneck Two  main  causes  of  boOlenecks  are:   •  The  Apache  web  server  –  Apache  consumes   substan2al  resources  for  each  and  every   connec2on.  Memory  can  be  exhausted  and   performance  slows  because  data  has  to  be   paged  back  and  forth  to  disk.   •  The  PHP/MySQL  interac)on  –  Together,  an   applica2on  server  running  PHP  and  a   MySQL  database  server  can  serve  a   maximum  number  of  requests  per  second.   When  the  number  of  requests  exceeds  the   maximum,  users  have  to  wait.  Exceeding   the  maximum  can  cause  significant   performance  problems.  
  • 29. MORE INFORMATION AT NGINX.COM Reverse Proxy Server Plus Caching Three  tricks  in  one:   •  Reverse  Proxy  Server  –   Move  user  I/O  to  an   external  server.   •  Cache  Sta)c  Files  –   Move  JPEGs,  CSS  files   etc.  to  the  reverse  proxy   server.   •  Cache  Dynamic  Files  –   Get  current  content  for   non-­‐logged-­‐in  users   once  per  second.  Then   for  10/50/100  requests   per  second,  serve  the   (briefly)  cached  file.    
  • 30. MORE INFORMATION AT NGINX.COM OPEN SOURCE PLUS FEATURES REQUEST ROUTING COMPRESSION LOAD BALANCING APP HEALTH MONITORING GUI VISUALIZATION SSL EMBEDDED SCRIPT LANGUAGE EDGE CACHE MEDIA STREAMING MONITORING ANALYTICS CONFIGURATION RESTFUL API What’s inside NGINX Plus? 30
  • 31. MORE INFORMATION AT NGINX.COM The LEMP Solution Two  steps  to  LEMP:   •  Replace  LAMP  (Linux-­‐Apache-­‐MySQL-­‐PHP)  with  LEMP  (Linux-­‐(e)NGINX-­‐MySQL-­‐PHP)       –  NGINX  is  faster  and  more  stable.   •  Make  Needed  Updates:   1.  Permalinks  instead  of  .htaccess    2.  Caching  with  FastCGI  Cache  etc.     3.  Implement  security  precau2ons  4.  Configure  WordPress  Mul2site  w/proper  file   structure  
  • 32. MORE INFORMATION AT NGINX.COM 1. Permalink Support for NGINX •  Why  .htaccess  is  bad   •  NGINX  config     server { server_name example.com www.example.com; root /var/www/example.com/htdocs; index index.php;   access_log /var/log/nginx/ example.com.access.log; error_log /var/log/nginx/ example.com.error.log; location / { try_files $uri $uri/ /index.php? $args; } }
  • 33. MORE INFORMATION AT NGINX.COM 2. Configure NGINX for FastCGI (or ...) •  FastCGI  is  most  popular  and  most  flexible   •  W3  Total  Cache,  WP  Super  Cache,  and  others  work  well  too       fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:100m inactive=60m; fastcgi_cache_key "$scheme$request_method$host$request_uri";   server { server_name example.com www.example.com; root /var/www/example.com/htdocs; index index.php; access_log /var/log/nginx/example.com.access.log; error_log /var/log/nginx/example.com.error.log; set $skip_cache 0; # POST requests and URLs with a query string should always go to PHP…  
  • 34. MORE INFORMATION AT NGINX.COM 3. Secure NGINX •  Best  to  do  this  at  reverse  proxy  server  *and*  at  webserver     # Restrict access to WordPress dashboard location /wp-admin { deny 192.192.9.9; allow 192.192.1.0/24; allow 10.1.1.0/16; deny all; # Deny access to uploads that aren’t images, videos, music, etc. location ~* ^/wp-content/uploads/.*.(html|htm|shtml|php|js|swf)$ { deny all; }  
  • 35. App Delivery ControllerDatabase App Servers Web Servers N You can add us to your current stack today
  • 36. App Delivery ControllerStorage App Servers Web Servers N N N You can add us to your current stack today
  • 37. MORE INFORMATION AT NGINX.COM Or... Eff it, let’s just do microservices
  • 38. Moving from monolith to microservices Application Delivery Monolithic Application Clustered Database Deployment Platform Architecture 38
  • 39. Application delivery for microservices NGINX is in each microservice, ensuring they are: •  Connected •  Served •  Authenticated •  Secured •  Cached •  Load Balanced •  Scaled 39
  • 40. You can also use NGINX in your API Gateway 40 NGINX Plus provides: •  Integration •  Security •  Request Routing •  Optimization •  Scalability
  • 41. MORE INFORMATION AT NGINX.COM Flawless application delivery made easy 41 Load Balancer Monitoring & Management Web ServerContent Cache Streaming Media