The issue I had only on the home page : ERR_TOO_MANY_REDIRECTS How to fix it Add to your wp-config.php the following code : if (!empty($_SERVER['HTTP_X_FORWARDED_HOST'])) { $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST']; } Here the idea is to set the $_SERVER['HTTP_HOST'] with the value o...
Upload Files to Minio S3 This will provide a public URL for accessing the stored content. However, since Minio is self-hosted, it may not handle a high volume of traffic efficiently on its own. First, create a bucket in Minio and configure it to be publicly accessible for read-only operations. Then ...
The Websocket issue : Error in websocket connection. Attempting reconnection... objectBrowserWSMiddleware.ts:79 WebSocket connection to 'wss://s3.faast.life/ws/objectManager' failed: This is how I managed to fix it : Install apache2 module sudo a2enmod proxy_wstunnel Edit the virtual host Add this r...
The Mailman’s Challenge For the mailman to successfully deliver the package to the correct apartment, he needs more than just the building’s address; he needs the specific apartment number. This is where Server Name Indication (SNI) comes in. SNI is like a tag on the package that tells t...
Introduction Nikto is a powerful, open-source web server scanner designed to identify potential security issues and vulnerabilities in web servers. It plays a crucial role in assessing the security posture of web applications by detecting outdated software versions, misconfigurations, and dangerous ...
Understanding Docker Entrypoints, Dockerfiles, and Environment Variables with Node.js Docker has become an essential tool for developers looking to build, ship, and run applications consistently across different environments. In this article, we will explore how to use Dockerfiles, entrypoints, and ...
A deployment with CLI To deploy the WAF on the edge, you need to call the WAF API. The official Fastly documentation provides CURL commands that you can execute in your terminal. Instead of using CURL commands, I decided to create a small CLI program in Node.js. By the way it’s worth noting yo...
Signal Science Signal : A Signal is a descriptive tag about a request, a request gets one or multiple tags based on rules a request triggers. Defined Systems signals Attack Signal Triggered by malicious request attack payloads, to hack, destroy, disable, steal… Here’s an example of such ...
We’re exploring the Error, Restart, and Log subroutines, but a heads-up: Restart isn’t technically a subroutine in the usual sense. For our learning objectives, let’s focus on understanding these elements: Where they fit into the overall process What they’re supposed to do Ho...
How to install Terraform On a Mac : brew install hashicorp/tap/terraform Verify Terraform is set up : terraform -help Create a the main terraform file Let’s create our terraform project in his own folder : mkdir terraform-tutorial && cd terraform-tutorial Then let’s create our ma...
Diagram and project goal In this article, my goal is to use compute at edge from Faslty to protect my origin and cache my content. Instead of using Varnish Configuration Language (VCL) to set my caching rules I will use JavaScript with compute. To start a new compute project, you have two options. Y...
The idea behind autocomplete The main goal of this application was to help HubSpot users easily create companies in their CRM with auto-completion features. Currently, when you create a company in HubSpot or any other object like a contact, there’s no auto-completion available. For instance, y...
Create a Dockerfile Create a Dockerfile in your project : FROM arm64v8/node:14-alpine WORKDIR /app COPY . . # If you have native dependencies, you'll need extra tools # RUN apk add --no-cache make gcc g++ python RUN apk update && apk upgrade RUN apk add curl RUN npm install EXPOSE 8181 CMD [...
Docker-compose is a powerful tool for managing multi-container Docker applications. In this article, we’ll explore how to set up a MySQL database using Docker-compose and tackle common issues that may arise during setup. We’ll cover troubleshooting steps for errors such as « not allowe...
What’s docker-compose ? Docker Compose is a tool that simplifies the management of multi-container Docker applications. It allows users to define and run multiple Docker containers as a single application, making it easier to orchestrate and manage complex deployments. With Docker Compose, use...