<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Naresh Kumar on Medium]]></title>
        <description><![CDATA[Stories by Naresh Kumar on Medium]]></description>
        <link>https://medium.com/@nareshbabral?source=rss-46886d3c83c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*0RbEo4nPp5F47Zhb.jpg</url>
            <title>Stories by Naresh Kumar on Medium</title>
            <link>https://medium.com/@nareshbabral?source=rss-46886d3c83c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 18:46:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nareshbabral/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to build Nginx from source with required modules like zlib, OpenSSL?]]></title>
            <link>https://medium.com/@nareshbabral/how-to-build-nginx-from-source-with-required-modules-like-zlib-openssl-943453af5a61?source=rss-46886d3c83c------2</link>
            <guid isPermaLink="false">https://medium.com/p/943453af5a61</guid>
            <category><![CDATA[ssl-certificate]]></category>
            <category><![CDATA[nginx]]></category>
            <dc:creator><![CDATA[Naresh Kumar]]></dc:creator>
            <pubDate>Wed, 10 Apr 2019 06:24:13 GMT</pubDate>
            <atom:updated>2019-04-10T06:40:44.459Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V_zjt5yeAHCTUtRf1I8yIg.png" /></figure><p>Most of the full stack engineers have had the taste of Nginx and how powerful it is. But we are barely scratching the surface with the commands like “yum install nginx”. Not always we stumble upon a situation where installing Nginx through yum or apt-get serves the purpose. Today we are going to explore the steps to build Nginx from source by adding extra modules as required by the application.</p><p>Modules that we are going to use in this article are zlib, OpenSSL, headers-more-nginx-module, nginx-rtmp-module. Let&#39;s begin!!!</p><p>We will start with installing all the dependencies required for building Nginx.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d0eb98023db8417a21ad48e73735109/href">https://medium.com/media/4d0eb98023db8417a21ad48e73735109/href</a></iframe><p>Let&#39;s create a directory where we would keep the built Nginx.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1bddcd51e3bb25aafce059dd53a7821c/href">https://medium.com/media/1bddcd51e3bb25aafce059dd53a7821c/href</a></iframe><p>After done with the prerequisites, let’s download the required packages and Nginx. Keep in mind the version that you wish to build.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/44beb49becbae9a041f53d96cd2650ae/href">https://medium.com/media/44beb49becbae9a041f53d96cd2650ae/href</a></iframe><p>Let&#39;s run the configure command with appropriate package paths and config values.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/93bc95d110e326c4a4ee664c997a61f4/href">https://medium.com/media/93bc95d110e326c4a4ee664c997a61f4/href</a></iframe><p>By this step, we are done with building Nginx from source. Now let&#39;s give a try to start and stop the built Nginx.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7cc0c078d5c0c0e19eb2ca7b1c080df2/href">https://medium.com/media/7cc0c078d5c0c0e19eb2ca7b1c080df2/href</a></iframe><p>Hurray!!! Finally, we are done with building Nginx from source. The same process can be extended to all modules that you would require for your specific needs. Also, I am attaching my nginx.conf with ssl configured for my custom domain. Feel free to edit it to your needs.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f5e81c63c8a49279fd4e2f9fd95d5aac/href">https://medium.com/media/f5e81c63c8a49279fd4e2f9fd95d5aac/href</a></iframe><p>Feel free to drop your suggestions to help me improve and add new technical topics that you guys would love me to cover.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=943453af5a61" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>