<?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 Talha Tabak</title><link>https://talhatabak.com/tags/nginx/</link><description>Recent content in nginx on Talha Tabak</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Talha Tabak</copyright><lastBuildDate>Sat, 21 Nov 2026 00:17:00 +0300</lastBuildDate><atom:link href="https://talhatabak.com/tags/nginx/index.xml" rel="self" type="application/rss+xml"/><item><title>Vault Setup</title><link>https://talhatabak.com/self-hosting/vault/</link><pubDate>Sat, 21 Nov 2026 00:17:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/vault/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done (the &lt;code&gt;vpn-only&lt;/code&gt; template is used).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Vault is reached at &lt;code&gt;vault.xenonly.com&lt;/code&gt;, only over the VPN. &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for this domain.&lt;/li&gt;&#10;&lt;li&gt;The install commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;). The &lt;code&gt;vault&lt;/code&gt; CLI commands are run on the server as the normal user.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Putting Services Behind the VPN</title><link>https://talhatabak.com/self-hosting/services-behind-vpn/</link><pubDate>Sat, 21 Nov 2026 00:15:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/services-behind-vpn/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/wireguard/"&gt;7 WireGuard Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/wireguard-clients/"&gt;7.1 Adding WireGuard Clients&lt;/a&gt; must be done; you must be able to connect to the VPN from your personal computer.&lt;/li&gt;&#10;&lt;li&gt;For the NGINX part, &lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The VPN networks are &lt;code&gt;10.8.0.0/24&lt;/code&gt; and &lt;code&gt;fd42:8::/64&lt;/code&gt;, and the server&amp;rsquo;s VPN address is &lt;code&gt;10.8.0.1&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;SSH is allowed in the &lt;code&gt;vpn&lt;/code&gt; zone (&lt;a href="https://talhatabak.com/self-hosting/wireguard/"&gt;7 WireGuard Setup&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;Server commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;). The tests with &lt;code&gt;ssh&lt;/code&gt; and &lt;code&gt;curl&lt;/code&gt; are done from a personal computer.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>A Ready Template for Docker Containers</title><link>https://talhatabak.com/self-hosting/docker-template/</link><pubDate>Sat, 21 Nov 2026 00:10:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/docker-template/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Container ports are published in the compose files as &lt;code&gt;127.0.0.1:&amp;lt;HOST_PORT&amp;gt;:&amp;lt;CONTAINER_PORT&amp;gt;&lt;/code&gt; and opened to the outside only through NGINX. The settings in &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; also bind ports published without an IP address to &lt;code&gt;127.0.0.1&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>NGINX Configuration</title><link>https://talhatabak.com/self-hosting/nginx/</link><pubDate>Sat, 21 Nov 2026 00:08:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/nginx/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/mail-server-ssl/"&gt;2.1 Setting Up SSL for the Mail Server&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;NGINX was installed and configured by iRedMail (version 1.26 from the Rocky Linux 10 repository).&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for &lt;code&gt;mail.xenonly.com&lt;/code&gt; and &lt;code&gt;iredadmin.xenonly.com&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>