{"id":2944,"date":"2013-12-15T18:47:49","date_gmt":"2013-12-16T00:47:49","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=2944"},"modified":"2025-07-22T03:07:10","modified_gmt":"2025-07-22T08:07:10","slug":"optimize-your-centos-6-vps-nginx-powered-joomla-installation","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/","title":{"rendered":"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<h5 class=\"wp-block-heading\" id=\"h-status-this-os-is-no-longer-supported\">Status: This OS is no longer supported<\/h5>\n\n\n\n<p><em>This article, &#8220;Optimize your CentOS 6 VPS Nginx-powered Joomla Installation,&#8221; covers a version of CentOS that reached end of life (EOL). It is no longer supported. As such, this guide is no longer maintained. If you are currently operating a server running CentOS 6, we highly recommend contacting <a href=\"https:\/\/www.rosehosting.com\/support\/\">RoseHosting&#8217;s fully managed support<\/a>. They can upgrade or migrate you to a supported version of AlmaLinux.<\/em><\/p>\n\n\n\n<!--more-->\n\n\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png\"><img decoding=\"async\" class=\"alignleft size-full wp-image-2945\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png\" alt=\"optimize-your-centos-6-vps-nginx-powered-joomla-installation\" width=\"250\" height=\"250\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png 250w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation-150x150.png 150w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/><\/a>As promised, in this sequel to my <a title=\"Run Joomla With Nginx On A CentOS VPS\" href=\"https:\/\/www.rosehosting.com\/blog\/run-joomla-with-nginx-on-a-centos-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">previous post<\/a>, we&#8217;ll see some useful steps for performance and security optimization of your <a title=\"NGINX accelerates content and application delivery, improves security, facilitates availability and scalability for the busiest web sites on the Internet\" href=\"https:\/\/www.nginx.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Nginx<\/a>-powered <a title=\"Joomla! is the mobile-ready and user-friendly way to build your website. Joomla! is free and open source.\" href=\"http:\/\/www.joomla.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Joomla<\/a> installation on a <a title=\"CentOS VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS VPS<\/a> and get it ready for its production run. Please note that these are not one-time and\/or persistent settings. Performance and security optimization is a constant process.<\/p>\n<p>So, the first thing I do after every Joomla installation is to hide its version, since it&#8217;s known that attackers usually scan for the Joomla version so they can track and explore its vulnerabilities.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ec8c99a6d1e\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ec8c99a6d1e\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#Show-Joomla-Version\" >Show Joomla Version<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#Page-Compression\" >Page Compression<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#Caching\" >Caching<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#Edit-Session-Values\" >Edit Session Values<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#Rewrite-the-URL\" >Rewrite the URL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Show-Joomla-Version\"><\/span>Show Joomla Version<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To <span style=\"text-decoration: underline;\"><strong>hide the Joomla version<\/strong><\/span>:<\/p>\n<p>1. Log in to the <strong>Admin panel<\/strong>, go to <strong>System<\/strong> &gt; <strong>Global Configuration<\/strong>, scroll all the way down, and find the <strong>Show Joomla! Version<\/strong> option. Set it to <strong>No<\/strong>.<\/p>\n<ul>\n<li><em>Compress it!<\/em> With the gzip option enabled, the web server is being told to compress the content of the main website before it sends it to the browser. While this option can reduce the file size by a nice percentage (usually more than 70%), as well as the time necessary for the content to be sent to the browser, it also assigns a greater deal of the effort to the web server itself.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Page-Compression\"><\/span>Page Compression<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After the calculations are done, this exchange of duties works for the benefit of the website and its speed, so its usage is recommended. To do so:<\/p>\n<p>2. Go to <strong>System<\/strong> &gt; <strong>Global Configuration<\/strong> &gt; <strong>Server tab<\/strong>. ind the <strong>Gzip Page Compression<\/strong> option and set it to <strong>Yes<\/strong>.<\/p>\n<ul>\n<li><em>Cache it!<\/em> Use this option to boost performance after the development phase is over and the website is ready to go live. Recommended initial cache time is 60 minutes.<\/li>\n<\/ul>\n<p>Joomla offers two caching options, <em>conservative<\/em> and <em>progressive<\/em>. Strong recommendations favor conservative caching. In short:<\/p>\n<p>&#8211; If <em>conservative<\/em> caching is enabled, then for <span style=\"text-decoration: underline;\">every visitor<\/span> that comes to the website, Joomla will check for a cached version in its cache directory, and if the cached version exists, Joomla will serve it to the client. If the cached version does not exist, Joomla will create one and then serve it to the client. The cached version stays there as defined by <strong>Cache Time<\/strong> (in minutes).<\/p>\n<p>&#8211; if <em>progressive<\/em> caching is enabled, then for every visitor that comes to the website, Joomla will check for a cached version <span style=\"text-decoration: underline;\">for that specific client<\/span>, and if it exists it will serve it, but if not, Joomla will <span style=\"text-decoration: underline;\">create cached<\/span> version of the website <span style=\"text-decoration: underline;\">specifically for that client<\/span> in its cache directory and then will serve the client. So, if another, <span style=\"text-decoration: underline;\">new client<\/span> goes to visit the website (for the first time), Joomla will <span style=\"text-decoration: underline;\">completely disregard<\/span> that cached version of the website for the previous client, and it will create new one, <span style=\"text-decoration: underline;\">for the current client<\/span>, which makes this caching mode even worse (performance-wise) than the Caching Disabled option, since it offers performance boost for the returning clients only. So, unless you are certain you need this option, its usage is not recommended. However, to choose your favorite setting:<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Caching\"><\/span>Caching<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>3. Go to <strong>System<\/strong> &gt; <strong>Global Configuration<\/strong> &gt; <strong>System<\/strong> tab and find the <strong>Cache<\/strong> option in the <strong>Cache Settings<\/strong> section and set it to the desired value based on the previous explanations. Set the time to 60, unless you know you need another number. Use <strong>File<\/strong> as <strong>Cache Handler<\/strong> or any other available software.<\/p>\n<p>Next, you would like to adjust the <strong>Session Lifetime<\/strong>. This, in general, depends on your own (and your users&#8217;) needs. You can set this option to a more paranoid state by inserting a lower number (the value is in <em>minutes<\/em>). The default value is 15, which means that the user will be automatically logged out after 15 minutes of inactivity. The default\u2014and recommended\u2014<strong>handler<\/strong> is the database, as setting the handler to none can break most of Joomla&#8217;s functions.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Edit-Session-Values\"><\/span>Edit Session Values<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>So, to edit the <strong>Session<\/strong> values:<\/p>\n<p>4. Go to <strong>System<\/strong> &gt; <strong>Global Configuration<\/strong> &gt; <strong>System<\/strong> tab and find the <strong>Session Lifetime<\/strong> option in the <strong>Session Settings<\/strong> section and set it to the desired value based on the previous explanations. If you are unsure which number is correct for you, simply leave it at its default value.<\/p>\n<ul>\n<li><em>SEF it!<\/em> It is strongly recommended that you enable SEF, also known as <span style=\"text-decoration: underline;\">Search Engine Friendly URLs<\/span>. The difference between a website with and without SEF is quite obvious. If SEF is disabled, the URLs would look like:<\/li>\n<\/ul>\n<pre>http:\/\/joomla.rosehosting.com\/index.php?option=com_content&amp;view=article&amp;id=1:test-article&amp;catid=8&amp;Itemid=101<\/pre>\n<p>Otherwise:<\/p>\n<pre>http:\/\/joomla.rosehosting.com\/index.php\/8-test\/1-test-article<\/pre>\n<p>The steps:<\/p>\n<p>5. If you followed my <a title=\"Run Joomla With Nginx On A CentOS VPS\" href=\"https:\/\/www.rosehosting.com\/blog\/run-joomla-with-nginx-on-a-centos-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">previous article<\/a>, you already have the necessary <strong>Nginx config<\/strong> line in place, so you just need to go to <strong>System<\/strong> &gt; <strong>Global Configuration<\/strong> &gt; <strong>Site<\/strong> tab &gt; <strong>SEO Settings<\/strong> section and set <strong>Search Engine Friendly URLs<\/strong> to <strong>Yes<\/strong>. Also, make sure <strong>System<\/strong> &#8211; <strong>SEF plugin<\/strong> is enabled in <strong>Extensions<\/strong> &gt; <strong>Plugin Manager<\/strong>.<\/p>\n<p>If you haven&#8217;t followed our previous article, then you need to edit your Nginx vhost file and make sure the following line is in place:<\/p>\n<pre><span style=\"color: #ff0000;\"># vim \/etc\/nginx\/sites-enabled\/mydomain.tld.conf<\/span><br \/><br \/><span style=\"color: #008000;\">location \/ {<br \/>try_files $uri $uri\/ \/index.php?$args;<br \/>}<\/span><\/pre>\n<p>Save the file and restart Nginx:<\/p>\n<pre><span style=\"color: #ff0000;\"># service nginx restart<\/span><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Rewrite-the-URL\"><\/span>Rewrite the URL<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In order to &#8216;decorate&#8217; our URLs even more, we need to enable the <strong>Use URL Rewriting<\/strong> option that can be found right below the <strong>Search Engine Friendly URLs<\/strong> option that we have just enabled. Now the URL should look like:<\/p>\n<pre>http:\/\/joomla.rosehosting.com\/8-test\/1-test-article<\/pre>\n<p>Another good idea is to protect your Joomla installation from some of the most common known exploits. To do so, make sure the following lines are in place:<\/p>\n<pre><span style=\"color: #ff0000;\"># vim \/etc\/nginx\/sites-enabled\/mydomain.tld.conf<\/span><br \/><br \/><span style=\"color: #008000;\">location \/ {<br \/>try_files $uri $uri\/ \/index.php?$args;<br \/>if ($query_string ~ \"base64_encode.*(.*)\"){ return 403; }<br \/>if ($query_string ~ \"sbp(=|%20|%3D)\"){ return 403; }<br \/>if ($query_string ~ \"sb_authorname(=|%20|%3D)\"){ return 403; }<br \/>if ($query_string ~ \"mosConfig_[a-zA-Z_]{1,21}(=|%3D)\"){ return 403; }<br \/>if ($query_string ~* \"(&lt;|%3C).*script.*(&gt;|%3E)\"){ return 403; }<br \/>if ($query_string ~ \"GLOBALS(=|[|%[0-9A-Z]{0,2})\"){ return 403; }<br \/>if ($query_string ~ \"_REQUEST(=|[|%[0-9A-Z]{0,2})\"){ return 403; }<br \/>}<\/span><\/pre>\n<p>Save the file and restart Nginx:<\/p>\n<pre><span style=\"color: #ff0000;\"># service nginx restart<\/span><\/pre>\n<p>These are some of the optimization and security protective measures you can take to secure and optimize your Joomla installation. Of course, there is no such thing as perfect safety, so feel free to play with and test your Joomla and secure it even more if this doesn&#8217;t seem enough. However, don&#8217;t forget to keep your Joomla installation and its plugins\/extensions up-to-date by upgrading whenever a new version comes out, and <strong>uninstall<\/strong> (don&#8217;t just disable) unnecessary extensions.<\/p>\n<p>Also, make sure you have the correct file and directory permissions. All of the files need a 644 permission, while the directories should have 755 (unless you are 100% sure what you are doing).<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now you have optimized and secured a Joomla installation on your <a title=\"CentOS VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 6 VPS,<\/a> ready to go into production.<\/p>\n<p>Of course, if you are one of our\u00a0<a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> customers, you don\u2019t have to do any of this; simply ask our admins, sit back, and relax. Our admins will set this up for you immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>","protected":false},"excerpt":{"rendered":"<p>Status: This OS is no longer supported This article, &#8220;Optimize your CentOS 6 VPS Nginx-powered Joomla Installation,&#8221; covers a version &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#more-2944\" aria-label=\"Read more about Optimize your CentOS 6 VPS Nginx-powered Joomla Installation\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":2945,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1710,21,13,1707],"tags":[157,215,49,193,159,1152,65,18,17],"class_list":["post-2944","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-cms-crm-erp","category-tips-and-tricks","category-tutorials","category-web-servers","tag-centos6","tag-joomla","tag-nginx","tag-optimize","tag-performance","tag-rosehosting","tag-security","tag-vps","tag-vps-hosting","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Optimize your CentOS 6 VPS Nginx-powered Joomla Installation | RoseHosting<\/title>\n<meta name=\"description\" content=\"Explore optimization strategies for your CentOS 6 VPS Nginx-powered Joomla. Enhance performance and security effectively.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation\" \/>\n<meta property=\"og:description\" content=\"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2013-12-16T00:47:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-22T08:07:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png\" \/>\n\t<meta property=\"og:image:width\" content=\"250\" \/>\n\t<meta property=\"og:image:height\" content=\"250\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation\",\"datePublished\":\"2013-12-16T00:47:49+00:00\",\"dateModified\":\"2025-07-22T08:07:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/\"},\"wordCount\":1171,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png\",\"keywords\":[\"centos6\",\"joomla\",\"nginx\",\"optimize\",\"performance\",\"rosehosting\",\"security\",\"vps\",\"vps hosting\"],\"articleSection\":[\"CentOS\",\"CMS, CRM, ERP\",\"Tips and Tricks\",\"Tutorials\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/\",\"name\":\"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png\",\"datePublished\":\"2013-12-16T00:47:49+00:00\",\"dateModified\":\"2025-07-22T08:07:10+00:00\",\"description\":\"Explore optimization strategies for your CentOS 6 VPS Nginx-powered Joomla. Enhance performance and security effectively.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png\",\"width\":250,\"height\":250,\"caption\":\"optimize-your-centos-6-vps-nginx-powered-joomla-installation\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation | RoseHosting","description":"Explore optimization strategies for your CentOS 6 VPS Nginx-powered Joomla. Enhance performance and security effectively.","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:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/","og_locale":"en_US","og_type":"article","og_title":"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation","og_description":"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2013-12-16T00:47:49+00:00","article_modified_time":"2025-07-22T08:07:10+00:00","og_image":[{"width":250,"height":250,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation","datePublished":"2013-12-16T00:47:49+00:00","dateModified":"2025-07-22T08:07:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/"},"wordCount":1171,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png","keywords":["centos6","joomla","nginx","optimize","performance","rosehosting","security","vps","vps hosting"],"articleSection":["CentOS","CMS, CRM, ERP","Tips and Tricks","Tutorials","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/","url":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/","name":"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png","datePublished":"2013-12-16T00:47:49+00:00","dateModified":"2025-07-22T08:07:10+00:00","description":"Explore optimization strategies for your CentOS 6 VPS Nginx-powered Joomla. Enhance performance and security effectively.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/optimize-your-centos-6-vps-nginx-powered-joomla-installation.png","width":250,"height":250,"caption":"optimize-your-centos-6-vps-nginx-powered-joomla-installation"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/optimize-your-centos-6-vps-nginx-powered-joomla-installation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Optimize your CentOS 6 VPS Nginx-powered Joomla Installation"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=2944"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2944\/revisions"}],"predecessor-version":[{"id":50856,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2944\/revisions\/50856"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/2945"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}