<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bitnami-wordpress-nginx Archives - SEO Neurons</title>
	<atom:link href="https://seoneurons.com/blog/tag/bitnami-wordpress-nginx/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Create, Optimize Website and Drive More Organic Traffic</description>
	<lastBuildDate>Tue, 11 Jul 2023 18:39:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://seoneurons.com/blog/wp-content/uploads/2024/06/cropped-logo-32x32.png</url>
	<title>Bitnami-wordpress-nginx Archives - SEO Neurons</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Enable HTTP/2 NGINX for WordPress Website</title>
		<link>https://seoneurons.com/blog/enable-http2-nginx/</link>
					<comments>https://seoneurons.com/blog/enable-http2-nginx/#respond</comments>
		
		<dc:creator><![CDATA[Ashok Sihmar]]></dc:creator>
		<pubDate>Thu, 14 Jan 2021 00:12:21 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Bitnami-wordpress-nginx]]></category>
		<category><![CDATA[nginx]]></category>
		<guid isPermaLink="false">https://seoneurons.com/blog/?p=3401</guid>

					<description><![CDATA[<p>HTTP/2 is a new version of the Hypertext Transport Protocol, which is used on the Web to deliver pages from server to browser. It is the first major update of HTTP in almost two decades, introduced to overcome the limitations of HTTP 1.1. The previous version of HTTP downloaded parts of a page in a &#8230;</p>
<p>The post <a href="https://seoneurons.com/blog/enable-http2-nginx/">How to Enable HTTP/2 NGINX for WordPress Website</a> appeared first on <a href="https://seoneurons.com/blog">SEO Neurons</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>HTTP/2 is a new version of the Hypertext Transport Protocol, which is used on the Web to deliver pages from server to browser. It is the first major update of HTTP in almost two decades, introduced to overcome the limitations of HTTP 1.1. The previous version of HTTP downloaded parts of a page in a queue, limiting the potential transfer speeds for most modern websites. An average modern webpage requires about 100 requests to be downloaded, each request being a picture, js file, css file, etc.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1280" height="720" src="https://seoneurons.com/blog/wp-content/uploads/2021/01/how-to-enable-http2-nginx.png" alt="Enable HTTP/2 in Bitnami NGINX" class="wp-image-3684" srcset="https://seoneurons.com/blog/wp-content/uploads/2021/01/how-to-enable-http2-nginx.png 1280w, https://seoneurons.com/blog/wp-content/uploads/2021/01/how-to-enable-http2-nginx-300x169.png 300w, https://seoneurons.com/blog/wp-content/uploads/2021/01/how-to-enable-http2-nginx-1024x576.png 1024w, https://seoneurons.com/blog/wp-content/uploads/2021/01/how-to-enable-http2-nginx-768x432.png 768w, https://seoneurons.com/blog/wp-content/uploads/2021/01/how-to-enable-http2-nginx-390x220.png 390w" sizes="(max-width: 1280px) 100vw, 1280px" /><figcaption class="wp-element-caption">Enable http2 in Bitnami NGINX.</figcaption></figure>



<h2 class="wp-block-heading"><span data-preserver-spaces="true">How HTTP/2 boost the speed of a website or blog?</span></h2>



<p>HTTP/2 brings a few fundamental changes to solve these problems:</p>



		<div class="thumbup tie-list-shortcode">



<ul class="wp-block-list">
<li>All requests are downloaded in parallel, not in a queue.</li>



<li>HTTP headers are compressed.</li>



<li>Pages transfer as a binary, not as a text file, which is more efficient.</li>



<li>Servers can “push” data even without the user’s request, which improves speed for users with high latency.</li>



<li>Although HTTP/2 does not require encryption, developers of two most popular browsers, Google Chrome and Mozilla Firefox, stated that for security reasons they will support HTTP/2 only for HTTPS connections.</li>
</ul>



		</div>
	



		<div class="stream-item stream-item-in-post stream-item-in-post-1">
		</div>
	



<p>The HTTP/2 is a lot faster than that of HTTP1.1. So it would be best if you considered enabling the HTTP/2 feature.</p>



<h2 class="wp-block-heading" id="h-how-to-enable-http-2-in-ubuntu">How to Enable HTTP/2 in Ubuntu?</h2>



<h3 class="wp-block-heading">Open the configuration file for your domain.</h3>



<p>You need to edit the Nginx configuration file for your domain. This file is typically located in the <code>/etc/nginx/sites-available/</code> directory. You can open this file using a text editor such as <code>nano</code>. Replace <code>your_domain</code> with your actual domain name.</p>



<pre class="wp-block-code"><code>sudo nano /etc/nginx/sites-available/your_domain</code></pre>



<h3 class="wp-block-heading">Locate the listen variables associated with port 443</h3>



<p>In the configuration file, you need to find the lines that start with <code>listen</code> and are associated with port 443. These lines tell Nginx to listen for incoming connections on port 443, which is the standard port for HTTPS connections.</p>



<pre class="wp-block-code"><code>listen &#091;::]:443 ssl ipv6only=on;
listen 443 ssl;</code></pre>



<ol class="wp-block-list">
<li>Modify each listen directive to include http2: <code>listen [::]:443 ssl http2 ipv6only=on;</code> and <code>listen 443 ssl http2;</code></li>



<li>Save the configuration file and exit the text editor.</li>
</ol>



<h3 class="wp-block-heading">Modify each listen directive to include http2</h3>



<p>To enable HTTP/2, you need to add <code>http2</code> to each <code>listen</code> directive. This tells Nginx to use the HTTP/2 protocol when serving your site to browsers that support it.</p>



<pre class="wp-block-code"><code>listen &#091;::]:443 ssl ipv6only=on;
listen 443 ssl;
http2 on;</code></pre>



<h3 class="wp-block-heading">Save the configuration file and exit the text editor</h3>



<p>After making these changes, save the configuration file and exit the text editor. If you&#8217;re using <code>nano</code>, you can do this by pressing <code>Ctrl+X</code> to exit, then <code>Y</code> to confirm that you want to save the changes, and finally <code>Enter</code> to confirm the file name.</p>



<h2 class="wp-block-heading">Enable HTTP/2 in Bitnami NGINX</h2>



<p>You can enable HTTP/2 just by editing bitnami.conf file of your bitnami WordPress nginx stack. To do this, you&#8217;ve to execute the following command.</p>



<pre class="wp-block-code"><code>sudo -i</code></pre>



<p>And now move to the directory using.</p>



<pre class="wp-block-code"><code>cd /opt/bitnami/nginx/conf/server_blocks</code></pre>



<h3 class="wp-block-heading"><strong>Make a backup of the nginx.conf file</strong></h3>



<p>Before making any changes to your configuration files, creating a backup is a good practice. If something goes wrong, you can easily revert to the previous configuration. The <code>nginx.conf</code> file is usually located in the <code>/etc/nginx/</code> directory. You can create a backup using the <code>cp</code> command: </p>



<pre class="wp-block-code"><code>scp wordpress-https-server-block.conf wordpress-https-server-block.conf.backup</code></pre>



<p>You have to locate the configuration file for your website in the Bitnami NGINX stack. Now select the file using nano.</p>



<pre class="wp-block-code"><code>nano wordpress-https-server-block.conf</code></pre>



<p>Now the .conf file will open up. You have to add http2 in the 443 server connection block, as displayed below.</p>



<pre class="wp-block-code"><code>server {
        listen 443 ssl;
      <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color">  </mark>listen &#091;::]:443 ssl ipv6only=on;
      <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color">  http2 on;</mark>
      <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color">  </mark>server_name  localhost;
      <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color">  </mark>ssl_certificate      server.crt;
      <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color">  </mark>ssl_certificate_key  server.key;
        ssl_certificate      
        ssl_session_cache    shared:SSL:1m;
        ssl_session_timeout  5m;
        ssl_session_tickets off;
        ssl_stapling on;
        ssl_stapling_verify on;
        ssl_ciphers  HIGH:!aNULL:!MD5;
#       ssl_prefer_server_ciphers  on;
#       include "/opt/bitnami/nginx/conf/bitnami/phpfastcgi.conf";
       include "/opt/bitnami/nginx/conf/bitnami/bitnami-apps-prefix.conf";
    }</code></pre>



<p>Save the settings by pressing ctrl+X, then Y, and then press enter to update the changes.</p>



<p>Now you can check that all NGINX configurations you made are correct using the following command line.</p>



<pre class="wp-block-code"><code>nginx -t</code></pre>



<p>Reload server</p>



<pre class="wp-block-code"><code>nginx -s reload</code></pre>



		<div class="stream-item stream-item-in-post stream-item-in-post-4">
		</div>
	



<p>To restart Bitnami nginx run the following command line.</p>



<pre class="wp-block-code"><code>sudo /opt/bitnami/ctlscript.sh restart nginx</code></pre>



<p>After the restart, you can check the HTTP/2 status of your website, which will result as enabled. Improve server security by <a href="https://seoneurons.com/blog/hide-nginx-server-version-header/">hiding the nginx server version.</a></p>
<p>The post <a href="https://seoneurons.com/blog/enable-http2-nginx/">How to Enable HTTP/2 NGINX for WordPress Website</a> appeared first on <a href="https://seoneurons.com/blog">SEO Neurons</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://seoneurons.com/blog/enable-http2-nginx/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
