{"id":2475,"date":"2026-01-04T04:38:30","date_gmt":"2026-01-04T07:38:30","guid":{"rendered":"https:\/\/helpsysadmin.com.br\/blog\/?p=2475"},"modified":"2026-06-15T05:48:03","modified_gmt":"2026-06-15T08:48:03","slug":"how-to-configure-lemp-with-wordpress-and-lets-encrypt","status":"publish","type":"post","link":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/","title":{"rendered":"How to configure LEMP with WordPress and Let&#8217;s Encrypt"},"content":{"rendered":"<div id=\"helps-2687865330\" class=\"helps-before-content-2 helps-entity-placement\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-3661896953164277\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<!-- 2anuncios display quadrado -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-3661896953164277\"\r\n     data-ad-slot=\"5051229894\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div>\n<p class=\"wp-block-paragraph\">The LEMP (<a href=\"https:\/\/helpsysadmin.com.br\/blog\/como-instalar-crowdsec\/\" data-internallinksmanager029f6b8e52c=\"1\" title=\"Como instalar Crowdsec\" target=\"_blank\" rel=\"noopener\">Linux<\/a>, Engine-X\/Nginx, MySQL\/MariaDB, PHP) configuration is often the preferred choice for high-traffic WordPress sites due to Nginx&#8217;s event-driven architecture, which handles simultaneous connections more efficiently than Apache.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is the step-by-step guide for Ubuntu 20.04\/22.04\/24.04.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-step-1-install-nginx\" class=\"wp-block-heading\">Step 1: Install Nginx<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike Apache, Nginx is lightweight and serves static files very quickly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Install: <\/strong><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo apt update sudo apt install nginx -y<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">apt<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">update<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">apt<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">install<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">nginx<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">y<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Configure Firewall (UFW):<\/strong> <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo ufw allow 'Nginx Full'<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">ufw<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">allow<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">Nginx Full<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Check status<\/strong>: Access the server&#8217;s IP address in your browser. You should see the &#8220;Welcome to nginx&#8221; screen.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-step-2-install-and-configure-mariadb\" class=\"wp-block-heading\">Step 2: Install and Configure MariaDB<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Install and protect:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo apt install mariadb-server -y sudo mysql_secure_installation<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">apt<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">install<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">mariadb<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">server<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">y<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">mysql_secure_installation<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Create Database:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>mysql -u root -p<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9\">mysql<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">u<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">root<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">p<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>CREATE DATABASE wordpress_db DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; \nCREATE USER 'wp_user'@'localhost' IDENTIFIED BY 'strong_password'; \nGRANT ALL ON wordpress_db.* TO 'wp_user'@'localhost'; \nFLUSH PRIVILEGES; \nEXIT;<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9\">CREATE<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">DATABASE<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">wordpress_db<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">DEFAULT<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">CHARACTER<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">SET<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">utf8mb4<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">COLLATE<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">utf8mb4_unicode_ci<\/span><span style=\"color: #81A1C1\">;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">CREATE<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">USER<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">wp_user<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D08770\">@<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">localhost<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">IDENTIFIED<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">BY<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">strong_password<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #81A1C1\">;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">GRANT<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">ALL<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">ON<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">wordpress_db<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #81A1C1\">*<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">TO<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">wp_user<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D08770\">@<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">localhost<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">; <\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">FLUSH<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">PRIVILEGES<\/span><span style=\"color: #81A1C1\">;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">EXIT<\/span><span style=\"color: #81A1C1\">;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 id=\"h-step-3-install-php-php-fpm\" class=\"wp-block-heading\">Step 3: Install PHP (PHP-FPM)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx does not natively process PHP; it passes the request to PHP-FPM (FastCGI Process Manager).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Install PHP-FPM and extensions:<\/strong> <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo apt install php-fpm php-mysql php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip imagick -y<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">apt<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">install<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">fpm<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">mysql<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">curl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">gd<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">mbstring<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">xml<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">xmlrpc<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">soap<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">intl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">php<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">zip<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">imagick<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">y<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Check the installed PHP version: Knowing the version (e.g., 8.1, 8.2, 8.3) is crucial for correctly configuring Nginx in the next step: <code>php -v<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-step-4-configure-the-nginx-server-block\" class=\"wp-block-heading\">Step 4: Configure the Nginx Server Block<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the most critical part and where it differs from Apache (there is no .htaccess file here).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-7387b849 wp-block-group-is-layout-flex\">\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Create the configuration file:<\/strong><br><code>sudo nano \/etc\/nginx\/sites-available\/seusite.com<\/code><\/li>\n\n\n\n<li><strong>Paste the configuration next to it:<\/strong> Attention: Adjust the fastcgi_pass path according to your PHP version (e.g., php8.1-fpm.sock or php8.3-fpm.sock)<br><br><br><br><br><br><\/li>\n\n\n\n<li><strong>Activate the website and test it:<\/strong><br><code>sudo ln -s \/etc\/nginx\/sites-available\/seusite.com \/etc\/nginx\/sites-enabled\/ <\/code><br><code>sudo nginx -t <\/code><br><em>Se o <code>nginx -t<\/code> der &#8220;syntax is ok&#8221;, prossiga:<\/em><br><code>sudo systemctl reload nginx<\/code><\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>server {\n    listen 80;\n    server_name seusite.com www.seusite.com;\n    root \/var\/www\/seusite.com;\n    index index.php index.html index.htm;\n    # Logs\n    access_log \/var\/log\/nginx\/seusite.com.access.log;\n    error_log \/var\/log\/nginx\/seusite.com.error.log;\n    # Regra principal para WordPress (Permalinks)\n    location \/ {\n        try_files $uri $uri\/ \/index.php$is_args$args;\n    }\n    # Processamento PHP\n    location ~ .php$ {\n        include snippets\/fastcgi-php.conf;\n        # VERIFIQUE A VERS\u00c3O ABAIXO (ls \/run\/php\/)\n        fastcgi_pass unix:\/run\/php\/php8.1-fpm.sock; \n    }\n    # Bloquear arquivos sens\u00edveis e .htaccess (in\u00fatil no Nginx mas bom esconder)\n    location ~ \/.ht {\n        deny all;\n    }\n    # Otimiza\u00e7\u00e3o para arquivos est\u00e1ticos (Cache no navegador)\n    location ~* .(css|gif|ico|jpeg|jpg|js|png)$ {\n        expires max;\n        log_not_found off;\n    }\n}<\/pre><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-step-5-download-wordpress\" class=\"wp-block-heading\">Step 5: Download WordPress<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo mkdir -p \/var\/www\/seusite.com\ncd \/tmp\ncurl -O https:\/\/wordpress.org\/latest.tar.gz\ntar xzvf latest.tar.gz\nsudo cp -a \/tmp\/wordpress\/. \/var\/www\/seusite.com\n<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Correct Permissions:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo chown -R www-data:www-data \/var\/www\/seusite.com\nsudo chmod -R 755 \/var\/www\/seusite.com\n<\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-step-6-https-with-let-s-encrypt\" class=\"wp-block-heading\">Step 6: HTTPS with Let&#8217;s Encrypt<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create an A DNS record pointing the domain to the server&#8217;s IP address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Install the Certbot plugin specifically for Nginx.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo apt install certbot python3-certbot-nginx -y<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Generate Certificate:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo certbot --nginx<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Certbot will read your server block (Step 4) and configure SSL automatically, asking if you want to force HTTPS redirection (Recommended: choose 2).<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-key-differences-apache-vs-nginx\" class=\"wp-block-heading\">Key Differences: Apache vs. Nginx<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td>Feature<\/td><td>Apache (LAMP)<\/td><td>Nginx (LEMP)<\/td><\/tr><\/thead><tbody><tr><td><strong>Settings<\/strong><\/td><td>Use .htaccess (easy for end users).<\/td><td>Centralized configuration (nginx.conf). Does not read .htaccess.<\/td><\/tr><tr><td><strong>Architecture<\/strong><\/td><td>Connection-based processing (may consume a lot of RAM).<\/td><td>Event-driven (asynchronous), it handles thousands of connections with limited RAM.<\/td><\/tr><tr><td><strong>PHP<\/strong><\/td><td>Usually mod_php.<\/td><td>Always via PHP-FPM (faster loading).<\/td><\/tr><tr><td><strong>Permalinks<\/strong><\/td><td>Automatic via mod_rewrite.<\/td><td>It requires the line <code>try_files $uri $uri\/ \/index.php...<\/code> to be added manually.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 id=\"h-using-permalinks-with-nginx\" class=\"wp-block-heading\">Using Permalinks with Nginx<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the most common question when migrating from Apache to Nginx. Since Nginx doesn&#8217;t read .htaccess files, you need to translate the rewrite logic directly into the server block configuration file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To make Permalinks work\u2014for example, transforming site.com\/?p=123 into site.com\/post-name\u2014follow these steps:<\/p>\n\n\n\n<h3 id=\"h-edit-your-website-s-configuration-file\" class=\"wp-block-heading\">Edit your website&#8217;s configuration file<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open your domain&#8217;s configuration file (usually located in \/etc\/nginx\/sites-available\/):<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo nano \/etc\/nginx\/sites-available\/seusite.com\n<\/pre><\/div>\n\n\n\n<h3 id=\"h-configure-the-try-files-directive\" class=\"wp-block-heading\">Configure the try_files directive<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Locate the location \/ block. It is probably either empty or looks like this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>location \/ {\n    # Conte\u00fado antigo ou apenas try_files $uri $uri\/ =404;\n}\n<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Replace (or edit) this block to look exactly like this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>location \/ {\n    try_files $uri $uri\/ \/index.php$is_args$args;\n}\n<\/pre><\/div>\n\n\n\n<h3 id=\"h-what-does-this-magic-line-do\" class=\"wp-block-heading\">What does this magic line do?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx processes this order from left to right:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$uri: Checks if a physical file with that name exists (e.g., a logo.png image). If it exists, it delivers the file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$uri\/: Checks if a directory with that name exists. If it exists, it tries to open its index.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/index.php$is_args$args: If no file or folder is found, it sends the request to WordPress (index.php) to process. This is where WordPress &#8220;reads&#8221; the friendly URL and displays the correct page.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-complete-block-example-context\" class=\"wp-block-heading\">Complete Block Example (Context)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To ensure you are inserting it in the correct place, your file should look like this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>server {\n    listen 80;\n    server_name seusite.com;\n    root \/var\/www\/seusite.com;\n    index index.php index.html;\n    # --- AQUI EST\u00c1 A CONFIGURA\u00c7\u00c3O DOS PERMALINKS ---\n    location \/ {\n        try_files $uri $uri\/ \/index.php$is_args$args;\n    }\n    # -----------------------------------------------\n    location ~ .php$ {\n        include snippets\/fastcgi-php.conf;\n        fastcgi_pass unix:\/run\/php\/php8.1-fpm.sock; # Ajuste sua vers\u00e3o do PHP\n    }\n}\n<\/pre><\/div>\n\n\n\n<h3 id=\"h-test-and-restart\" class=\"wp-block-heading\">Test and Restart<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Always check the syntax before restarting to avoid crashing the server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo nginx -t\n<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><em>If possible &#8220;syntax is ok&#8221;:<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo systemctl reload nginx\n<\/pre><\/div>\n\n\n\n<h3 id=\"h-save-the-permalinks-in-wordpress\" class=\"wp-block-heading\">Save the Permalinks in WordPress<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This step is crucial and often forgotten:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Access the WordPress dashboard (\/wp-admin).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to Settings &gt; Permalinks.<br>Select the desired structure (e.g., &#8220;Post Name&#8221;).<br>Click Save Changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This forces\u2026WordPress is updating its internal routing structure to match the new freedom that Nginx has provided.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 id=\"h-proximo-passo-modulo-fastcgi-cache\" class=\"wp-block-heading\">Pr\u00f3ximo passo m\u00f3dulo <strong>FastCGI Cache<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">One of the biggest advantages of using Nginx is the FastCGI Cache module, which allows you to cache the entire page directly in RAM, eliminating the need for heavy caching plugins in WordPress. Below are instructions for configuring the FastCGI module.<\/p>\n\n\n\n<h3 id=\"h-step-1-define-the-cache-zone-nginx-conf\" class=\"wp-block-heading\">Step 1: Define the Cache Zone (nginx.conf)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, we need to tell Nginx where to store the cache and what size to allow.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Edit the main configuration file:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo nano \/etc\/nginx\/nginx.conf<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Inside the http { \u2026 } block, before the line include \/etc\/nginx\/sites-enabled\/*;, add the following:<br>Nginx<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre># Configura\u00e7\u00e3o FastCGI Cache\nfastcgi_cache_path \/var\/cache\/nginx\/wordpress_cache levels=1:2 keys_zone=WORDPRESS:100m max_size=10g inactive=120m use_temp_path=off;\nfastcgi_cache_key &quot;$scheme$request_method$host$request_uri&quot;;\nfastcgi_ignore_headers Cache-Control Expires Set-Cookie;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>keys_zone:<\/strong> We named the area &#8220;WORDPRESS&#8221; and allocated 100MB of RAM to store the keys.<\/li>\n\n\n\n<li><strong>max_size:<\/strong> 10GB of disk space for caching (adjust according to your disk size).<\/li>\n\n\n\n<li><strong>inactive:<\/strong> If a cache is not visited within 120 minutes, it is deleted.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Passo 2: Configurar as Exce\u00e7\u00f5es (No seu Virtual Host)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">We don&#8217;t want to cache everything. Admin panels, logged-in users, and checkout pages (if using WooCommerce) cannot be cached.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Edit your site&#8217;s file:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo nano \/etc\/nginx\/sites-available\/seusite.com<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Add this block before the location block.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre># L\u00f3gica para ignorar o cache (Skip Cache)\nset $skip_cache 0;\n# POST requests e URLs com query string devem ir diretos ao PHP\nif ($request_method = POST) { set $skip_cache 1; }\nif ($query_string != &quot;&quot;) { set $skip_cache 1; }\n# N\u00e3o fazer cache de URIs especiais (Admin, Feed, XMLRPC)\nif ($request_uri ~* &quot;\/wp-admin\/|\/xmlrpc.php|wp-.*.php|^\/feed\/*|\/index.php|sitemap(_index)?.xml&quot;) {\n    set $skip_cache 1;\n}\n# N\u00e3o fazer cache para utilizadores logados ou que comentaram recentemente\nif ($http_cookie ~* &quot;comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in&quot;) {\n    set $skip_cache 1;\n}<\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-step-3-enable-caching-in-the-php-block\" class=\"wp-block-heading\">Step 3: Enable Caching in the PHP Block<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Still within the same file (sites-available\/yoursite.com), locate your <code>location ~ .php$<\/code> block. You will need to add the caching directives there.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It should look something like this:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>location ~ .php$ {\n    include snippets\/fastcgi-php.conf;\n    \n    # Confirme se o socket corresponde \u00e0 sua vers\u00e3o (ex: php8.1-fpm.sock)\n    fastcgi_pass unix:\/run\/php\/php8.1-fpm.sock; \n    # --- ATIVA\u00c7\u00c3O DO CACHE ---\n    fastcgi_cache WORDPRESS;\n    fastcgi_cache_valid 200 301 302 60m;\n    fastcgi_cache_use_stale error timeout updating invalid_header http_500 http_503;\n    fastcgi_cache_min_uses 1;\n    fastcgi_cache_lock on;\n    \n    # Aplica as regras de exclus\u00e3o que cri\u00e1mos acima\n    fastcgi_cache_bypass $skip_cache;\n    fastcgi_no_cache $skip_cache;\n    # Adiciona um cabe\u00e7alho para sabermos se o cache funcionou (HIT ou MISS)\n    add_header X-FastCGI-Cache $upstream_cache_status;\n}\n<\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-step-4-apply-and-test\" class=\"wp-block-heading\">Step 4: Apply and Test<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Check the syntax:<\/strong> <code>sudo nginx -t<\/code><br><strong>Restart Nginx:<\/strong> <code>sudo systemctl reload nginx<\/code><br><strong>Test:<\/strong> Open your website in an incognito window (so you are not logged in). Inspect the page (F12), go to the Network tab, reload the page and click on the first resource (your domain). Look in the &#8220;Response Headers&#8221;:<br><br><code>X-FastCGI-Cache: MISS<\/code> (On the first visit, Nginx is creating the cache).<br><code>X-FastCGI-Cache: HIT<\/code> (Reload the page. If you see HIT, the cache is working and the page was served instantly).<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-step-5-install-plugin-for-automatic-cleaning\" class=\"wp-block-heading\">Step 5: Install Plugin for Automatic Cleaning<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx doesn&#8217;t know when you publish a new article. You need a WordPress plugin to tell Nginx to clear the cache.<br>In WordPress, install the Nginx Helper plugin (author: rtCamp).<br>Activate it and go to Settings &gt; Nginx Helper.<br>Under Purging Method, select: nginx Fastcgi cache.<br>Confirm that the path in Cache path is \/var\/cache\/nginx\/wordpress_cache (same as step 1).<br>Enable the purge options when a post is edited, published, or deleted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Veja tamb\u00e9m:<\/strong><br><a href=\"https:\/\/helpsysadmin.com.br\/blog\/antivirus-antimalware-antiphishing-centos\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Antiv\u00edrus, Antimalware, Antiphishing no Almalinux ou CentOS com ClamAV<\/strong><\/a><br><a href=\"https:\/\/helpsysadmin.com.br\/blog\/como-instalar-openlitespeed-no-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Como Instalar Openlitespeed no Ubuntu 20.04<\/strong><\/a><br><a href=\"https:\/\/helpsysadmin.com.br\/blog\/listar-diretorios-e-arquivos-em-ordem-crescente\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Criando atalho para listar diret\u00f3rios e arquivos em ordem crescente<\/strong><\/a><br><a href=\"https:\/\/helpsysadmin.com.br\/blog\/administracao-linux-para-iniciantes\/\"><strong>Guia Completo de Administra\u00e7\u00e3o de Servidores Linux para Iniciantes<\/strong><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>In English:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-install-engintronnginx-cpanel-whm\/\"><strong>How to install Engintron(NGINX) cPanel\/WHM<\/strong><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The LEMP (Linux, Engine-X\/Nginx, MySQL\/MariaDB, PHP) configuration is often the preferred choice for high-traffic WordPress sites due to Nginx&#8217;s event-driven architecture, which [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":7185,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4466],"tags":[1245,1217],"class_list":["post-2475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-servers-and-databases","tag-servidor-linux","tag-ubuntu-en-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.9 (Yoast SEO v27.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to configure LEMP with WordPress and Let&#039;s Encrypt<\/title>\n<meta name=\"description\" content=\"A configura\u00e7\u00e3o LEMP (Linux, Engine-X\/Nginx, MySQL\/MariaDB, PHP) \u00e9 frequentemente a escolha preferida para sites WordPress de alto tr\u00e1fego\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure LEMP with WordPress and Let&#039;s Encrypt\" \/>\n<meta property=\"og:description\" content=\"A configura\u00e7\u00e3o LEMP (Linux, Engine-X\/Nginx, MySQL\/MariaDB, PHP) \u00e9 frequentemente a escolha preferida para sites WordPress de alto tr\u00e1fego\" \/>\n<meta property=\"og:url\" content=\"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog HelpSysAdmin\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-04T07:38:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-15T08:48:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2026\/01\/how_to_configure_lemp_wordpress_letsencrypt.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"818\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"HelpSysAdmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brhelpsysad\" \/>\n<meta name=\"twitter:site\" content=\"@brhelpsysad\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/\"},\"author\":{\"name\":\"HelpSysAdmin\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/bdbe3d7d71a0c6a3cb474c18da574efb\"},\"headline\":\"How to configure LEMP with WordPress and Let&#8217;s Encrypt\",\"datePublished\":\"2026-01-04T07:38:30+00:00\",\"dateModified\":\"2026-06-15T08:48:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/\"},\"wordCount\":1020,\"publisher\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2026\\/01\\/how_to_configure_lemp_wordpress_letsencrypt.webp\",\"keywords\":[\"servidor linux\",\"ubuntu\"],\"articleSection\":[\"Web Servers and Databases\"],\"inLanguage\":\"pt-BR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/\",\"url\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/\",\"name\":\"How to configure LEMP with WordPress and Let's Encrypt\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2026\\/01\\/how_to_configure_lemp_wordpress_letsencrypt.webp\",\"datePublished\":\"2026-01-04T07:38:30+00:00\",\"dateModified\":\"2026-06-15T08:48:03+00:00\",\"description\":\"A configura\u00e7\u00e3o LEMP (Linux, Engine-X\\\/Nginx, MySQL\\\/MariaDB, PHP) \u00e9 frequentemente a escolha preferida para sites WordPress de alto tr\u00e1fego\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/#primaryimage\",\"url\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2026\\/01\\/how_to_configure_lemp_wordpress_letsencrypt.webp\",\"contentUrl\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2026\\/01\\/how_to_configure_lemp_wordpress_letsencrypt.webp\",\"width\":1500,\"height\":818,\"caption\":\"how to configure lemp wordpress lets encrypt\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure LEMP with WordPress and Let&#8217;s Encrypt\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/\",\"name\":\"Blog HelpSysAdmin\",\"description\":\"Webserver linux blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#organization\"},\"alternateName\":\"HelpSysAdmin Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#organization\",\"name\":\"HelpSysAdmin Gerenciamento de Servidores\",\"alternateName\":\"HelpSysAdmin\",\"url\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\/\\/mlkpd8g42nae.i.optimole.com\\/w:512\\/h:512\\/q:mauto\\/f:best\\/https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2020\\/12\\/favicon.png\",\"contentUrl\":\"https:\\/\\/mlkpd8g42nae.i.optimole.com\\/w:512\\/h:512\\/q:mauto\\/f:best\\/https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2020\\/12\\/favicon.png\",\"width\":512,\"height\":512,\"caption\":\"HelpSysAdmin Gerenciamento de Servidores\"},\"image\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/brhelpsysad\",\"https:\\\/\\\/mastodon.social\\\/@helpsysadmin\"],\"description\":\"Oferecemos o gerenciamento de servidores dedicados, vps ou cloud. Apresentamos a melhor experi\u00eancia em atendimento e servi\u00e7o. Nosso time cuidar\u00e1 do seu servidor com backups, an\u00e1lises constantes, ajustes de seguran\u00e7a, realiza\u00e7\u00e3o de manuten\u00e7\u00e3o preventiva e corretiva, otimiza\u00e7\u00e3o de performance al\u00e9m de monitoramento 24\u00d77 com suporte Pr\u00f3 Ativo.\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1\",\"maxValue\":\"10\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/bdbe3d7d71a0c6a3cb474c18da574efb\",\"name\":\"HelpSysAdmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efc0007e6a313a844b72de257e05c6083b07b6ecc6983a4f71e06293ff2e22fd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efc0007e6a313a844b72de257e05c6083b07b6ecc6983a4f71e06293ff2e22fd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efc0007e6a313a844b72de257e05c6083b07b6ecc6983a4f71e06293ff2e22fd?s=96&d=mm&r=g\",\"caption\":\"HelpSysAdmin\"},\"sameAs\":[\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to configure LEMP with WordPress and Let's Encrypt","description":"A configura\u00e7\u00e3o LEMP (Linux, Engine-X\/Nginx, MySQL\/MariaDB, PHP) \u00e9 frequentemente a escolha preferida para sites WordPress de alto tr\u00e1fego","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:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/","og_locale":"pt_BR","og_type":"article","og_title":"How to configure LEMP with WordPress and Let's Encrypt","og_description":"A configura\u00e7\u00e3o LEMP (Linux, Engine-X\/Nginx, MySQL\/MariaDB, PHP) \u00e9 frequentemente a escolha preferida para sites WordPress de alto tr\u00e1fego","og_url":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/","og_site_name":"Blog HelpSysAdmin","article_published_time":"2026-01-04T07:38:30+00:00","article_modified_time":"2026-06-15T08:48:03+00:00","og_image":[{"width":1500,"height":818,"url":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2026\/01\/how_to_configure_lemp_wordpress_letsencrypt.webp","type":"image\/webp"}],"author":"HelpSysAdmin","twitter_card":"summary_large_image","twitter_creator":"@brhelpsysad","twitter_site":"@brhelpsysad","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/#article","isPartOf":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/"},"author":{"name":"HelpSysAdmin","@id":"https:\/\/helpsysadmin.com.br\/blog\/#\/schema\/person\/bdbe3d7d71a0c6a3cb474c18da574efb"},"headline":"How to configure LEMP with WordPress and Let&#8217;s Encrypt","datePublished":"2026-01-04T07:38:30+00:00","dateModified":"2026-06-15T08:48:03+00:00","mainEntityOfPage":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/"},"wordCount":1020,"publisher":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/#organization"},"image":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/#primaryimage"},"thumbnailUrl":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2026\/01\/how_to_configure_lemp_wordpress_letsencrypt.webp","keywords":["servidor linux","ubuntu"],"articleSection":["Web Servers and Databases"],"inLanguage":"pt-BR"},{"@type":"WebPage","@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/","url":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/","name":"How to configure LEMP with WordPress and Let's Encrypt","isPartOf":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/#primaryimage"},"image":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/#primaryimage"},"thumbnailUrl":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2026\/01\/how_to_configure_lemp_wordpress_letsencrypt.webp","datePublished":"2026-01-04T07:38:30+00:00","dateModified":"2026-06-15T08:48:03+00:00","description":"A configura\u00e7\u00e3o LEMP (Linux, Engine-X\/Nginx, MySQL\/MariaDB, PHP) \u00e9 frequentemente a escolha preferida para sites WordPress de alto tr\u00e1fego","breadcrumb":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/#primaryimage","url":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2026\/01\/how_to_configure_lemp_wordpress_letsencrypt.webp","contentUrl":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2026\/01\/how_to_configure_lemp_wordpress_letsencrypt.webp","width":1500,"height":818,"caption":"how to configure lemp wordpress lets encrypt"},{"@type":"BreadcrumbList","@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-configure-lemp-with-wordpress-and-lets-encrypt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/helpsysadmin.com.br\/blog\/"},{"@type":"ListItem","position":2,"name":"How to configure LEMP with WordPress and Let&#8217;s Encrypt"}]},{"@type":"WebSite","@id":"https:\/\/helpsysadmin.com.br\/blog\/#website","url":"https:\/\/helpsysadmin.com.br\/blog\/","name":"Blog HelpSysAdmin","description":"Webserver linux blog","publisher":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/#organization"},"alternateName":"HelpSysAdmin Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/helpsysadmin.com.br\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/helpsysadmin.com.br\/blog\/#organization","name":"HelpSysAdmin Gerenciamento de Servidores","alternateName":"HelpSysAdmin","url":"https:\/\/helpsysadmin.com.br\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/helpsysadmin.com.br\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:512\/h:512\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2020\/12\/favicon.png","contentUrl":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:512\/h:512\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2020\/12\/favicon.png","width":512,"height":512,"caption":"HelpSysAdmin Gerenciamento de Servidores"},"image":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/brhelpsysad","https:\/\/mastodon.social\/@helpsysadmin"],"description":"Oferecemos o gerenciamento de servidores dedicados, vps ou cloud. Apresentamos a melhor experi\u00eancia em atendimento e servi\u00e7o. Nosso time cuidar\u00e1 do seu servidor com backups, an\u00e1lises constantes, ajustes de seguran\u00e7a, realiza\u00e7\u00e3o de manuten\u00e7\u00e3o preventiva e corretiva, otimiza\u00e7\u00e3o de performance al\u00e9m de monitoramento 24\u00d77 com suporte Pr\u00f3 Ativo.","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1","maxValue":"10"}},{"@type":"Person","@id":"https:\/\/helpsysadmin.com.br\/blog\/#\/schema\/person\/bdbe3d7d71a0c6a3cb474c18da574efb","name":"HelpSysAdmin","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/efc0007e6a313a844b72de257e05c6083b07b6ecc6983a4f71e06293ff2e22fd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/efc0007e6a313a844b72de257e05c6083b07b6ecc6983a4f71e06293ff2e22fd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/efc0007e6a313a844b72de257e05c6083b07b6ecc6983a4f71e06293ff2e22fd?s=96&d=mm&r=g","caption":"HelpSysAdmin"},"sameAs":["https:\/\/helpsysadmin.com.br\/blog\/"]}]}},"lang":"en","translations":{"en":2475},"pll_sync_post":{},"_links":{"self":[{"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/posts\/2475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/comments?post=2475"}],"version-history":[{"count":4,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/posts\/2475\/revisions"}],"predecessor-version":[{"id":7189,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/posts\/2475\/revisions\/7189"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/media\/7185"}],"wp:attachment":[{"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/media?parent=2475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/categories?post=2475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/tags?post=2475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}