<?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 No Subject - nosubject.io -</title><link>https://nosubject.io/en/tags/nginx/</link><description>Recent content in Nginx on No Subject - nosubject.io -</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 09 Jul 2026 00:00:00 +0900</lastBuildDate><atom:link href="https://nosubject.io/en/tags/nginx/index.xml" rel="self" type="application/rss+xml"/><item><title>Switching the Raspberry Pi WordPress Site to Hugo</title><link>https://nosubject.io/en/raspberry-pi-wordpress-to-hugo-switch/</link><pubDate>Thu, 09 Jul 2026 00:00:00 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi-wordpress-to-hugo-switch/</guid><description>&lt;p&gt;I already wrote about migrating the article data from WordPress to Hugo in &lt;a href="https://nosubject.io/en/wordpress-to-hugo-migration/"&gt;Migrating from WordPress to Hugo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This article covers the next step: switching the actual WordPress environment running on my Raspberry Pi to Hugo.&lt;/p&gt;
&lt;p&gt;Even when I built the environment myself, I forget the details after enough time passes. Looking back at my older notes, this site was not running WordPress directly on the host with PHP and MySQL. It was running through Docker.&lt;/p&gt;</description></item><item><title>[Raspberry Pi] After Setting Up a Ramdisk, nginx Stopped Starting, So I Handled It with rc-local</title><link>https://nosubject.io/en/raspberry-pi4-ramdisk-nginx-rc-local/</link><pubDate>Fri, 19 Mar 2021 08:06:00 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-ramdisk-nginx-rc-local/</guid><description>&lt;p&gt;This is just about trying an earlier article, &lt;a href="https://nosubject.io/ubuntu-raspberry-pi-ramdisk-nginx-mysql/" target="_blank" rel="noreferrer noopener" title="[Ubuntu] After Setting Up a Ramdisk on Raspberry Pi, nginx and MySQL Stopped Starting, So I Handled It with rc-local"&gt;[Ubuntu] After Setting Up a Ramdisk on Raspberry Pi, nginx and MySQL Stopped Starting, So I Handled It with rc-local&lt;/a&gt;, on a Raspberry Pi 4 as well. These days MySQL runs in a Docker container, so the only target this time is &lt;code&gt;/var/log/nginx&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Run WordPress with Docker</title><link>https://nosubject.io/en/raspberry-pi4-docker-wordpress/</link><pubDate>Sat, 13 Mar 2021 13:19:49 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-docker-wordpress/</guid><description>&lt;h3&gt;Overview&lt;/h3&gt;
&lt;p&gt;These are notes from setting up WordPress with Docker. Nginx is already running on the host side, and an SSL certificate has already been obtained, so WordPress will ride on that setup too.&lt;/p&gt;
&lt;h5&gt;Related Past Articles&lt;/h5&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href="https://nosubject.io/ubuntu-19-10-pppoe/" target="_blank" rel="noreferrer noopener"&gt;Connect with PPPoE on Ubuntu 19.10 and open ports.&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://nosubject.io/raspberrypi-nuro-remove-pppoe/" target="_blank" rel="noreferrer noopener"&gt;[RaspberryPi] I switched from Docomo Hikari to Nuro Hikari, so I stopped using PPPoE and changed to normal port forwarding&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://nosubject.io/raspberry-pi4-ubuntu-20-10-headless-install/" target="_blank" rel="noreferrer noopener"&gt;[Raspberry Pi 4] Headless installation of Ubuntu 20.10. How to install without a keyboard or display&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://nosubject.io/raspberry-pi4-nginx-letsencrypt/" target="_blank" rel="noreferrer noopener"&gt;[Raspberry Pi 4] Install Nginx and obtain an SSL server certificate from Let's Encrypt&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://nosubject.io/raspberry-pi4-docker-mailserver/" target="_blank" rel="noreferrer noopener" title="[Raspberry Pi 4] Build a mail server (Postfix + Dovecot) with Docker"&gt;[Raspberry Pi 4] Build a mail server with Docker.&lt;/a&gt; &lt;/li&gt;&lt;li&gt;[Raspberry Pi 4] Run WordPress with Docker. ★ You are here&lt;/li&gt;&lt;/ol&gt;
&lt;h3&gt;Environment Tested&lt;/h3&gt;
&lt;p&gt;Raspberry Pi 4 Ubuntu 20.10 (arm64)&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Build a Mail Server (Postfix + Dovecot) with Docker</title><link>https://nosubject.io/en/raspberry-pi4-docker-mailserver/</link><pubDate>Tue, 02 Feb 2021 09:55:54 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-docker-mailserver/</guid><description>&lt;p&gt;This time, I use Docker to start a mail server and handle the various settings around it.&lt;/p&gt;
&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;I use Postfix and Dovecot for my home mail server, but when installed as native packages, the initial configuration is complicated. When rebuilding the server or moving it to another PC, I completely forget what was configured and how. On top of that, I also need to configure other tools such as spam countermeasures and Fail2Ban, so it is a real hassle. This time the goal is an easy installation using Docker.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Install Nginx and Obtain an SSL Server Certificate from Let's Encrypt</title><link>https://nosubject.io/en/raspberry-pi4-nginx-letsencrypt/</link><pubDate>Sat, 23 Jan 2021 17:54:14 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-nginx-letsencrypt/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;Since I &lt;a href="https://nosubject.io/raspberry-pi4-ubuntu-20-10-headless-install/" title="[Raspberry Pi 4] Headless installation of Ubuntu 20.10. How to install without a keyboard or display" target="_blank" rel="noreferrer noopener"&gt;installed Ubuntu 20.10 on a Raspberry Pi 4&lt;/a&gt;, I migrated the mail server and WordPress running on my current home server over to the Raspberry Pi. These are my notes.&lt;/p&gt;
&lt;h3&gt;Environment Tested&lt;/h3&gt;
&lt;p&gt;Raspberry Pi 4 Ubuntu 20.10 (arm64)&lt;/p&gt;
&lt;p&gt;$ nginx -v&lt;br&gt;nginx version: nginx/1.18.0 (Ubuntu)&lt;/p&gt;
&lt;p&gt;$ certbot --version&lt;br&gt;certbot 1.11.0&lt;/p&gt;
&lt;h3&gt;Prerequisites and Preparation&lt;/h3&gt;
&lt;p&gt;Complete the Ubuntu installation, PPPoE settings, and domain settings in advance. This is the same as what I did previously on the Pi 3, so I will omit the details.&lt;/p&gt;</description></item></channel></rss>