Infrastructure– category –
-
Fix Ubuntu on WSL that failed to boot after reinstalling
When reinstalling Ubuntu on WSL (Windows Subsystem for Linux), the following error message may appear and it may not boot. Failed to attach disk 'C:\Users\ahaya\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalS... -
Create Docker + Nginx + PHP environment
I wanted to display not only static content but also dynamic content on Nginx containerized with Docker, so I added PHP in the Docker+Nginx environment. Here is a summary of how I did it. 【Build a Docker + Nginx environment】 First, we ... -
How to limit bandwidth with Nginx
Sometimes you want to limit the network speed when connecting with HTTP from an application you are making. For example, when connecting from a very slow network or from a foreign country with poor infrastructure, you want to make sure t... -
3 steps to Basic Authentication with Docker+Nginx
When we had a specification for HTTP Basic Authentication in our application and wanted to implement that functionality, we needed a test environment where we could test the Basic Authentication code. Therefore, we created a page to auth... -
Nginx POST settings
Accessing Nginx via POST results in an HTTP STATUS 405 error by default, which is a problem when accessing Nginx containerized in Docker from an app under development that returns a fixed XML for debugging purposes. I don't want this to ... -
Check privacy settings when using Docker on macOS
Docker has a feature that mounts a folder on the host and uses it as a shared folder. macOS Catalina 10.15 and later had problems accessing a folder mounted with this feature. The conclusion was that the target folder had been blocked by... -
Containerize and run Nginx with Docker
When developing native apps such as iOS and Android apps, and implementing a process that communicates with a web server via HTTP/HTTPS, there are many times when you want fixed data to be returned. For example, when unit testing communi... -
Setup Homebrew on Windows
Homebrew is a package manager originally for macOS. Homebrew now officially supports Linux from version 2.0. At the same time, WSL (Windows Subsystem for Linux) is also officially supported. This article describes that how to setup Homeb... -
Setup WSL (Windows Subsystem for Linux)
Since Homebrew v2.0 which was released on February 2, 2019, added Windows 10 (WSL) and Linux to the official supported systems. This article explains that how to setup WSL which is needed by Homebrew. 【Install WSL on Windows 10】 Follow... -
[RESOLVED] Unknown Authentication Error in Docker Compose
I have previously encountered an unexplained authentication error in Docker Compose, which I was able to resolve, so I am writing about it. 【Condition】 I containerized the server with which the unit test communicates using Docker. I go...
12