<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Nginx on Experiment, Fail, Learn, Repeat</title>
    <link>https://www.hairizuan.com/categories/nginx/</link>
    <description>Recent content in Nginx on Experiment, Fail, Learn, Repeat</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>Copyright © 2026 Hairizuan Noorazman</copyright>
    <lastBuildDate>Mon, 08 Jan 2024 17:00:55 +0800</lastBuildDate><atom:link href="https://www.hairizuan.com/categories/nginx/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Nginx as API Gateway - focusing on auth_request directive</title>
      <link>https://www.hairizuan.com/nginx-as-api-gateway-focusing-on-auth_request-directive/</link>
      <pubDate>Wed, 01 Nov 2023 00:00:00 +0000</pubDate>
      
      <guid>https://www.hairizuan.com/nginx-as-api-gateway-focusing-on-auth_request-directive/</guid>
      <description>&lt;p&gt;On virtual machine&#xA;How to &amp;ldquo;protect&amp;rdquo; api requests&#xA;&lt;a href=&#34;https://www.nginx.com/blog/deploying-nginx-plus-as-an-api-gateway-part-1/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;https://www.nginx.com/blog/deploying-nginx-plus-as-an-api-gateway-part-1/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Mostly is the &lt;code&gt;auth_request&lt;/code&gt; directive&lt;/p&gt;&#xA;&lt;p&gt;Microservices are a software architectural style that structures an application as a collection of loosely coupled, independently deployable services. Each service in a microservices architecture represents a specific business capability and communicates with other services through well-defined APIs (Application Programming Interfaces). These services are designed to be small, focused, and can be developed, deployed, and scaled independently. Its a somewhat common architectural pattern that many companies go to when it comes to scaling out their development teams to build out their product.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Bus Arrival App - Singapore</title>
      <link>https://www.hairizuan.com/bus-arrival-app-singapore/</link>
      <pubDate>Thu, 03 Feb 2022 00:00:00 +0000</pubDate>
      
      <guid>https://www.hairizuan.com/bus-arrival-app-singapore/</guid>
      <description>&lt;p&gt;This is a quick sample tool to retrieve bus arrivals in Singapore. In order to use it, we would need to find for the Bus Stop ID or Bus Stop Code from where we&amp;rsquo;re taking the bus from. After keying it, it would fetch the records from LTA Datamall&amp;rsquo;s real time bus arrival API and present those records in this tool.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Basic SSL Setup - server and client SSL certificate setup</title>
      <link>https://www.hairizuan.com/basic-ssl-setup-server-and-client-ssl-certificate-setup/</link>
      <pubDate>Mon, 10 May 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.hairizuan.com/basic-ssl-setup-server-and-client-ssl-certificate-setup/</guid>
      <description>&lt;p&gt;Install nginx on the instance. We would also probably need to install vim as well to make it changes on nginx configuration.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt update &lt;span class=&#34;o&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; sudo apt install -y nginx vim&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo su&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;mkdir -p /etc/nginx/ssl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; /etc/nginx/ssl&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;Create the following file in &lt;code&gt;ca.config&lt;/code&gt;. The following ca configuration is used to create and configure SSL certifications&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Using nginx to serve as ingress to multiple servers</title>
      <link>https://www.hairizuan.com/using-nginx-to-serve-as-ingress-to-multiple-servers/</link>
      <pubDate>Sat, 29 Sep 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.hairizuan.com/using-nginx-to-serve-as-ingress-to-multiple-servers/</guid>
      <description>&lt;p&gt;This is a little experiment to see how this would work; in the case where we have multiple Go binaries with multiple web applications. If we wanted to expose this via a single http endpoint rather than providing a whole multitude of web endpoints.&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
