{"id":2499,"date":"2026-11-21T03:36:05","date_gmt":"2026-11-21T09:06:05","guid":{"rendered":"https:\/\/rackbank.com\/blog\/?p=2499"},"modified":"2026-11-21T03:36:05","modified_gmt":"2026-11-21T09:06:05","slug":"woocommerce-dedicated-server-setup-nginx-php-fpm","status":"publish","type":"post","link":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/","title":{"rendered":"WooCommerce Dedicated Server Setup Nginx PHP-FPM, Redis and Backups"},"content":{"rendered":"<div>\n<p>&nbsp;<\/p>\n<\/div>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>TL;DR<\/strong><\/p>\n<ul>\n<li>What this does: gives one WooCommerce store its own PHP-FPM pool, an Nginx page cache that skips cart and checkout, a capped Redis object cache and nightly database dumps.<\/li>\n<li>How long: one maintenance window.<\/li>\n<li>What it needs: root or sudo access, a console path that does not depend on SSH, and a fresh backup.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>This guide covers a WooCommerce dedicated server setup with Nginx and PHP-FPM, for the owner or admin who holds root on one server.<\/p>\n<p>We wrote it against Ubuntu 24.04 LTS, the release used in our <a href=\"https:\/\/rackbank.com\/blog\/manage-your-own-dedicated-server-checklist\/\">owner&#8217;s checklist for your own dedicated server<\/a>, with PHP 8.3 FPM, MariaDB 10.6 or later, Nginx, Redis, WordPress 6.9 and WooCommerce 10.8. Those versions follow the <a href=\"https:\/\/woocommerce.com\/document\/server-requirements\/\">WooCommerce server recommendations, which list PHP 8.3 or greater, MariaDB 10.6 or greater and a 256 MB WordPress memory limit<\/a>. Patching, firewall and log duties sit in that checklist, so this post stays on the store stack.<\/p>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>BEFORE YOU START<\/strong><\/p>\n<ul>\n<li><strong>Access:<\/strong> root or sudo over SSH, plus the provider&#8217;s out-of-band console.<\/li>\n<li><strong>Backup first:<\/strong> sudo cp -a \/etc\/nginx \/root\/nginx-backup, sudo cp -a \/etc\/php \/root\/php-backup, sudo cp \/etc\/redis\/redis.conf \/root\/redis.conf.bak, then mariadb-dump &#8211;single-transaction store_db &gt; \/root\/pre-change.sql (store_db is your database name).<\/li>\n<li><strong>Rollback:<\/strong> copy the two folders and redis.conf back, reload PHP-FPM and Nginx, run redis-cli CONFIG SET maxmemory 0 to remove the cap, and disable the Redis plugin.<\/li>\n<li>Window: a low-traffic slot agreed with the order team.<\/li>\n<li><strong>SAFETY NOTE:<\/strong> these are general steps, written against Ubuntu 24.04 LTS with Nginx, PHP 8.3 FPM, MariaDB 10.6 or later, Redis, WordPress 6.9 and WooCommerce 10.8. Every server differs in roles, firewall, applications and network, so a technical person who knows this server should review each step before it is run, and try it on a test or non-production server first where one exists.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<figure><\/figure>\n<h2 class=\"wp-block-heading\">Step 1: Give the Store Its Own PHP-FPM Pool<\/h2>\n<p>PHP-FPM runs PHP in pools of child processes. The <a href=\"https:\/\/www.php.net\/manual\/en\/install.fpm.configuration.php\">PHP manual states that pm.max_children sets the limit on the number of simultaneous requests<\/a> a pool serves. A separate pool keeps the store&#8217;s limits apart from any other site on the server.<\/p>\n<p>Create a pool file named woo.conf in the PHP 8.3 FPM pool directory. The values are an example to size.<\/p>\n<pre class=\"wp-block-code\"><code>[woo]\nuser = www-data\ngroup = www-data\nlisten = \/run\/php\/woo.sock\nlisten.owner = www-data\nlisten.group = www-data\npm = dynamic\npm.max_children = 20\npm.min_spare_servers = 2\npm.max_spare_servers = 6\npm.status_path = \/fpm-status\nphp_admin_value[memory_limit] = 256M<\/code><\/pre>\n<p>Check pm.max_children before you save. Does 20 times the <strong>256M<\/strong> memory_limit, or <strong>5,120 MB<\/strong>, fit in the RAM left after MariaDB and Redis? If not, lower the count.<\/p>\n<p>Apply it with sudo systemctl reload php8.3-fpm, then run ls -l \/run\/php\/woo.sock. The socket should exist and belong to www-data. If it is missing, journalctl -u php8.3-fpm shows the line the pool rejected. To undo, delete woo.conf and reload again.<\/p>\n<h2 class=\"wp-block-heading\">Step 2: WooCommerce Nginx and PHP-FPM Settings That Keep Cart and Checkout Out of the Cache<\/h2>\n<p>The <a href=\"https:\/\/developer.wordpress.org\/advanced-administration\/server\/web-server\/nginx\/\">WordPress Nginx handbook notes that the upstream server should match the listen directive in the PHP-FPM pool<\/a>. The config below keeps its fastcgi_cache skip rules in full and appends the WooCommerce pages and cookies.<\/p>\n<p>First, add this file in the http context, for example \/etc\/nginx\/conf.d\/woo-cache.conf:<\/p>\n<pre class=\"wp-block-code\"><code>upstream woo_php {\n    server unix:\/run\/php\/woo.sock;\n}\nfastcgi_cache_path \/var\/run\/nginx-cache levels=1:2 keys_zone=WORDPRESS:500m inactive=60m;\nfastcgi_cache_key \"$scheme$request_method$host$request_uri\";<\/code><\/pre>\n<p>Next, add the skip rules and PHP handling inside the store&#8217;s server block:<\/p>\n<pre class=\"wp-block-code\"><code>set $no_cache 0;\nif ($request_method = POST) { set $no_cache 1; }\nif ($query_string != \"\") { set $no_cache 1; }\nif ($request_uri ~* \"(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail).php|wp-.*.php|\/feed\/|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml|\/cart\/|\/checkout\/|\/my-account\/)\") { set $no_cache 1; }\nif ($http_cookie ~* \"comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|woocommerce_items_in_cart|woocommerce_cart_hash|wp_woocommerce_session_\") { set $no_cache 1; }\n\nlocation \/ {\n    try_files $uri $uri\/ \/index.php?$args;\n}\nlocation = \/fpm-status {\n    allow 127.0.0.1;\n    deny all;\n    include fastcgi.conf;\n    fastcgi_pass woo_php;\n}\nlocation ~ \\.php$ {\n    try_files $uri =404;\n    include fastcgi.conf;\n    fastcgi_pass woo_php;\n    fastcgi_cache_bypass $no_cache;\n    fastcgi_no_cache $no_cache;\n    fastcgi_cache WORDPRESS;\n    fastcgi_cache_valid 200 60m;\n}<\/code><\/pre>\n<p>The try_files $uri =404 line is the safeguard the handbook puts in its PHP blocks. The page and cookie names come from WooCommerce itself. Its <a href=\"https:\/\/developer.woocommerce.com\/docs\/best-practices\/performance\/configuring-caching-plugins\/\">caching guide lists Cart, My Account and Checkout as pages to exclude from the cache<\/a>. It also names the three cart and session cookies used above.<\/p>\n<p>If the store renamed its cart, checkout or my-account pages, change the request_uri line to match.<\/p>\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"2560\" height=\"1429\" class=\"wp-image-2498\" src=\"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-fig-1-scaled.jpg\" alt=\"Request flow on a WooCommerce server: Nginx serves catalogue pages from the FastCGI page cache, while cart and checkout bypass it to the PHP-FPM pool, which uses Redis and MariaDB\" srcset=\"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-fig-1-scaled.jpg 2560w, https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-fig-1-300x167.jpg 300w, https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-fig-1-1024x572.jpg 1024w, https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-fig-1-768x429.jpg 768w, https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-fig-1-1536x857.jpg 1536w, https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-fig-1-2048x1143.jpg 2048w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/figure>\n<p><em>Figure 1. Catalogue requests can come from the FastCGI page cache. Cart and checkout requests bypass it and reach the PHP-FPM pool, which uses Redis and MariaDB.<\/em><\/p>\n<p>Test with sudo nginx -t. The output should say the syntax is ok and the test is successful; then run sudo systemctl reload nginx. A failed test names the file and line to fix. To undo, copy \/root\/nginx-backup back and reload.<\/p>\n<h2 class=\"wp-block-heading\">Step 3: Add a Redis Object Cache With a Memory Cap<\/h2>\n<p>Before an object cache plugin goes on, cap the memory Redis may use. The <a href=\"https:\/\/redis.io\/docs\/latest\/develop\/reference\/eviction\/\">Redis documentation says a maxmemory of zero, the default on 64-bit systems, means no memory limit<\/a>. Add two lines to redis.conf, sized to fit beside MariaDB and the PHP pool:<\/p>\n<pre class=\"wp-block-code\"><code>maxmemory 512mb\nmaxmemory-policy allkeys-lru<\/code><\/pre>\n<p>Redis describes allkeys-lru as a good default when there is no reason to prefer another policy. Redis reads redis.conf at startup, so restart the Redis service to load both lines. The documented redis-cli CONFIG SET maxmemory 512mb changes only the cap at runtime, not the policy.<\/p>\n<p>Then install a Redis object cache plugin and enable it from its own settings page. WooCommerce suggests excluding _wc_session_ from database caching where the caching system offers that option. Check with redis-cli INFO memory, which should show the limit you set. To undo, disable the plugin, copy redis.conf.bak back and restart Redis.<\/p>\n<h2 class=\"wp-block-heading\">Step 4: Take Consistent Database and File Backups<\/h2>\n<p>Does the dump block orders while it runs? The <a href=\"https:\/\/mariadb.com\/docs\/server\/clients-and-utilities\/backup-restore-and-import-clients\/mariadb-dump\">MariaDB documentation says &#8211;single-transaction dumps the consistent state of the database without blocking any applications<\/a>. That holds only for InnoDB tables, so confirm the store&#8217;s tables use InnoDB.<\/p>\n<p>Put the dump in a script such as \/usr\/local\/bin\/woo-backup.sh and make it executable with sudo chmod +x:<\/p>\n<pre class=\"wp-block-code\"><code>#!\/bin\/sh\nmariadb-dump --single-transaction store_db | gzip &gt; \/backup\/store_db-$(date +%F).sql.gz<\/code><\/pre>\n<p>Then add this line with sudo crontab -e to run it at 02:00 every night:<\/p>\n<pre class=\"wp-block-code\"><code>0 2 * * * \/usr\/local\/bin\/woo-backup.sh<\/code><\/pre>\n<p>Run the script once by hand, then run ls -lh \/backup. Today&#8217;s file should be there with a non-zero size. Three questions finish the plan:<\/p>\n<ul class=\"wp-block-list\">\n<li>How many days of dumps stay in \/backup before old files are deleted?<\/li>\n<li>Does a copy leave this server every night?<\/li>\n<li>Does the file backup tool also cover wp-config.php and the wp-content folder?<\/li>\n<\/ul>\n<p>The MariaDB documentation restores with mariadb db_name &lt; backup-file.sql. On a test server, pipe gunzip -c of the latest dump into mariadb store_db.<\/p>\n<hr \/>\n<h2 class=\"wp-block-heading\">What to Check After<\/h2>\n<figure class=\"wp-block-table\">\n<table>\n<thead>\n<tr>\n<th>Check<\/th>\n<th>Command or page<\/th>\n<th>Expected result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Pool is running<\/td>\n<td>ls -l \/run\/php\/woo.sock<\/td>\n<td>Socket exists, owned by www-data<\/td>\n<\/tr>\n<tr>\n<td>Pool status page<\/td>\n<td>curl -H &#8220;Host: yourstore&#8221; http:\/\/127.0.0.1\/fpm-status<\/td>\n<td>Status page for pool woo; refused from outside<\/td>\n<\/tr>\n<tr>\n<td>Cart stays private<\/td>\n<td>Add an item in two browsers, open Checkout in each<\/td>\n<td>Each browser sees only its own cart<\/td>\n<\/tr>\n<tr>\n<td>Redis cap<\/td>\n<td>redis-cli INFO memory<\/td>\n<td>Limit matches the value set<\/td>\n<\/tr>\n<tr>\n<td>Nightly dump<\/td>\n<td>ls -lh \/backup<\/td>\n<td>Today&#8217;s file, non-zero size<\/td>\n<\/tr>\n<tr>\n<td>Restore drill<\/td>\n<td>gunzip -c latest dump piped to mariadb store_db on a test server<\/td>\n<td>Store opens with recent orders<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<hr \/>\n<h2 class=\"wp-block-heading\">When to Stop and Hand Over<\/h2>\n<p>Before a large sale, ask three questions about this set-up:<\/p>\n<ul class=\"wp-block-list\">\n<li>Does the status page show the pool reaching pm.max_children at peak, even after resizing?<\/li>\n<li>Does the store need a database replica or a second web node?<\/li>\n<li>Is someone on call when checkout fails at 2 AM?<\/li>\n<\/ul>\n<p>Would a yes to the second question, or a no to the third, mean handing over to managed support? Who handles plugin conflicts and slow queries: the plugin vendor, a DBA or managed support? Our guide to <a href=\"https:\/\/rackbank.com\/blog\/managed-vs-unmanaged-dedicated-servers-what-to-choose\/\">managed versus unmanaged dedicated servers<\/a> sets out that trade-off.<\/p>\n<hr \/>\n<h2 class=\"wp-block-heading\">FAQs<\/h2>\n<p><strong>Why does Nginx give 502 after changing the PHP-FPM pool?<\/strong><\/p>\n<p>The socket path in the Nginx upstream must match the listen line in the pool file. On Linux, the PHP manual adds that the socket needs read and write permission for the web server, which listen.owner and listen.group set.<\/p>\n<p><strong>Should WooCommerce cart and checkout pages be cached?<\/strong><\/p>\n<p>No. WooCommerce notes that WP Super Cache skips Cart, Checkout and My Account by default. The skip rules in step 2 exclude those pages and cookies from the Nginx FastCGI cache.<\/p>\n<p><strong>How do pm static, dynamic and ondemand differ?<\/strong><\/p>\n<p>The PHP manual describes static as a fixed number of children equal to pm.max_children. Under dynamic, the child count follows pm.max_children, pm.start_servers, pm.min_spare_servers and pm.max_spare_servers. Under ondemand, idle children stop after pm.process_idle_timeout, which defaults to 10 seconds.<\/p>\n<hr \/>\n<h2 class=\"wp-block-heading\">The Result<\/h2>\n<p>The store now has its own PHP pool, a page cache that never serves another shopper&#8217;s cart, a capped Redis cache and a nightly consistent dump.<\/p>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>NEXT STEP<\/strong><br \/>\nTo run this stack on hardware sized for your catalogue and order volume, see <a href=\"https:\/\/www.rackbank.com\/datacenter-services\/high-performance-dedicated-servers.html\">RackBank dedicated and bare metal servers<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[OPEN ISSUES] A step-by-step WooCommerce dedicated server setup: a PHP-FPM pool sized for checkouts, Nginx with cart and checkout cache exclusions, a capped Redis object cache, consistent MariaDB backups and the checks to run after each step.<\/p>\n","protected":false},"author":2,"featured_media":2497,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[24,79,169,148],"class_list":["post-2499","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dedicated-server","tag-backup-solutions","tag-dedicated-servers","tag-ecommerce-hosting","tag-linux-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WooCommerce Dedicated Server Setup: Nginx, PHP-FPM, Redis<\/title>\n<meta name=\"description\" content=\"Set up WooCommerce on a dedicated server: a sized PHP-FPM pool, Nginx cache rules that skip cart and checkout, a capped Redis cache and MariaDB backups.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WooCommerce Dedicated Server Setup: Nginx, PHP-FPM, Redis\" \/>\n<meta property=\"og:description\" content=\"Set up WooCommerce on a dedicated server: a sized PHP-FPM pool, Nginx cache rules that skip cart and checkout, a capped Redis cache and MariaDB backups.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RackBank\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-21T09:06:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1429\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Tanvi Ausare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rackbank\" \/>\n<meta name=\"twitter:site\" content=\"@rackbank\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tanvi Ausare\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/\"},\"author\":{\"name\":\"Tanvi Ausare\",\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/#\\\/schema\\\/person\\\/8e06632331def2e4ee1b5180342b641c\"},\"headline\":\"WooCommerce Dedicated Server Setup Nginx PHP-FPM, Redis and Backups\",\"datePublished\":\"2026-11-21T09:06:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/\"},\"wordCount\":1395,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg\",\"keywords\":[\"Backup Solutions\",\"dedicated servers\",\"ecommerce hosting\",\"Linux hosting\"],\"articleSection\":[\"Dedicated Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/\",\"url\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/\",\"name\":\"WooCommerce Dedicated Server Setup: Nginx, PHP-FPM, Redis\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg\",\"datePublished\":\"2026-11-21T09:06:05+00:00\",\"description\":\"Set up WooCommerce on a dedicated server: a sized PHP-FPM pool, Nginx cache rules that skip cart and checkout, a capped Redis cache and MariaDB backups.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/#primaryimage\",\"url\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg\",\"width\":2560,\"height\":1429,\"caption\":\"Generic 1U dedicated server with open lid on a dark background with green accent lighting\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/woocommerce-dedicated-server-setup-nginx-php-fpm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WooCommerce Dedicated Server Setup Nginx PHP-FPM, Redis and Backups\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/\",\"name\":\"rackbank.com\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/#organization\",\"name\":\"RackBank Datacenters pvt ltd\",\"url\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/cropped-rackbank-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/cropped-rackbank-logo-1.png\",\"width\":94,\"height\":42,\"caption\":\"RackBank Datacenters pvt ltd\"},\"image\":{\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RackBank\\\/\",\"https:\\\/\\\/x.com\\\/rackbank\",\"https:\\\/\\\/in.linkedin.com\\\/company\\\/rackbank\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/#\\\/schema\\\/person\\\/8e06632331def2e4ee1b5180342b641c\",\"name\":\"Tanvi Ausare\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe5feb60fe7f80f01a49352fc22bb3a233db8a5f2ba1582cd6f9157d716102b3?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe5feb60fe7f80f01a49352fc22bb3a233db8a5f2ba1582cd6f9157d716102b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe5feb60fe7f80f01a49352fc22bb3a233db8a5f2ba1582cd6f9157d716102b3?s=96&d=mm&r=g\",\"caption\":\"Tanvi Ausare\"},\"url\":\"https:\\\/\\\/rackbank.com\\\/blog\\\/author\\\/tanvi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WooCommerce Dedicated Server Setup: Nginx, PHP-FPM, Redis","description":"Set up WooCommerce on a dedicated server: a sized PHP-FPM pool, Nginx cache rules that skip cart and checkout, a capped Redis cache and MariaDB backups.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/","og_locale":"en_US","og_type":"article","og_title":"WooCommerce Dedicated Server Setup: Nginx, PHP-FPM, Redis","og_description":"Set up WooCommerce on a dedicated server: a sized PHP-FPM pool, Nginx cache rules that skip cart and checkout, a capped Redis cache and MariaDB backups.","og_url":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/","article_publisher":"https:\/\/www.facebook.com\/RackBank\/","article_published_time":"2026-11-21T09:06:05+00:00","og_image":[{"width":2560,"height":1429,"url":"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg","type":"image\/jpeg"}],"author":"Tanvi Ausare","twitter_card":"summary_large_image","twitter_creator":"@rackbank","twitter_site":"@rackbank","twitter_misc":{"Written by":"Tanvi Ausare","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/#article","isPartOf":{"@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/"},"author":{"name":"Tanvi Ausare","@id":"https:\/\/rackbank.com\/blog\/#\/schema\/person\/8e06632331def2e4ee1b5180342b641c"},"headline":"WooCommerce Dedicated Server Setup Nginx PHP-FPM, Redis and Backups","datePublished":"2026-11-21T09:06:05+00:00","mainEntityOfPage":{"@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/"},"wordCount":1395,"commentCount":0,"publisher":{"@id":"https:\/\/rackbank.com\/blog\/#organization"},"image":{"@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/#primaryimage"},"thumbnailUrl":"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg","keywords":["Backup Solutions","dedicated servers","ecommerce hosting","Linux hosting"],"articleSection":["Dedicated Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/","url":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/","name":"WooCommerce Dedicated Server Setup: Nginx, PHP-FPM, Redis","isPartOf":{"@id":"https:\/\/rackbank.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/#primaryimage"},"image":{"@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/#primaryimage"},"thumbnailUrl":"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg","datePublished":"2026-11-21T09:06:05+00:00","description":"Set up WooCommerce on a dedicated server: a sized PHP-FPM pool, Nginx cache rules that skip cart and checkout, a capped Redis cache and MariaDB backups.","breadcrumb":{"@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/#primaryimage","url":"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg","contentUrl":"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2026\/11\/woocommerce-dedicated-server-setup-nginx-php-fpm-featured-scaled.jpg","width":2560,"height":1429,"caption":"Generic 1U dedicated server with open lid on a dark background with green accent lighting"},{"@type":"BreadcrumbList","@id":"https:\/\/rackbank.com\/blog\/woocommerce-dedicated-server-setup-nginx-php-fpm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rackbank.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WooCommerce Dedicated Server Setup Nginx PHP-FPM, Redis and Backups"}]},{"@type":"WebSite","@id":"https:\/\/rackbank.com\/blog\/#website","url":"https:\/\/rackbank.com\/blog\/","name":"rackbank.com","description":"","publisher":{"@id":"https:\/\/rackbank.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rackbank.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/rackbank.com\/blog\/#organization","name":"RackBank Datacenters pvt ltd","url":"https:\/\/rackbank.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rackbank.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2025\/09\/cropped-rackbank-logo-1.png","contentUrl":"https:\/\/rackbank.com\/blog\/wp-content\/uploads\/2025\/09\/cropped-rackbank-logo-1.png","width":94,"height":42,"caption":"RackBank Datacenters pvt ltd"},"image":{"@id":"https:\/\/rackbank.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RackBank\/","https:\/\/x.com\/rackbank","https:\/\/in.linkedin.com\/company\/rackbank"]},{"@type":"Person","@id":"https:\/\/rackbank.com\/blog\/#\/schema\/person\/8e06632331def2e4ee1b5180342b641c","name":"Tanvi Ausare","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fe5feb60fe7f80f01a49352fc22bb3a233db8a5f2ba1582cd6f9157d716102b3?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fe5feb60fe7f80f01a49352fc22bb3a233db8a5f2ba1582cd6f9157d716102b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fe5feb60fe7f80f01a49352fc22bb3a233db8a5f2ba1582cd6f9157d716102b3?s=96&d=mm&r=g","caption":"Tanvi Ausare"},"url":"https:\/\/rackbank.com\/blog\/author\/tanvi\/"}]}},"_links":{"self":[{"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/posts\/2499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/comments?post=2499"}],"version-history":[{"count":1,"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/posts\/2499\/revisions"}],"predecessor-version":[{"id":2502,"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/posts\/2499\/revisions\/2502"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/media\/2497"}],"wp:attachment":[{"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/media?parent=2499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/categories?post=2499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rackbank.com\/blog\/wp-json\/wp\/v2\/tags?post=2499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}