Setting Up WireGuard with Docker Compose You can deploy WireGuard easily using Docker Compose. Below is an example of a docker-compose.yml file. Modify it to suit your needs. This configuration creates a WireGuard container that listens on UDP port 51820 and maps it to the container’s internal por...
Additionally, compressing images can have a significant impact on your website’s egress costs and the environment. Reducing the overall size of a website means less data is transferred, which lowers bandwidth costs and energy usage. Websites that are lighter and faster are more efficient and eco-f...
How to fix the big image issue ? Pure HTML approach : Non optimized : <img src='https://placeimg.com/800/400/tech' class='img-responsive img-center'> Optimized : In this example we provide multiple urls for the same image. The browser will pick a specific url depending on the width of the scre...
How to check if the website contains blocking JavaScript? Test the website on PageSpeedInsight and look for this warning “Eliminate render-blocking JavaScript in above-the-fold content”. The tool will list the blocking files but I recommend you to double-check in the source code. To do so, look ...
In this step, the server can perform different tasks, like requesting data from a database, calling a web-service, or calculating results… How to check the Time To First Byte? Go to https://WebPageTest.orgi In this example, we can see that the TTFB is 4335 ms, which indicates a TTFB issue. Pay...
Minio Server (Port 9000) The service running on port 9000 is the primary Minio server. This is the main entry point for interacting with the Minio object storage system. Here are its key functions: Object Storage Service: This is where you can upload, download, and manage your objects (files) in the...
I have an ML-2165w printer my dad gave me. It’s a great little laser printer—compact and cheap to run. But I found you can’t install the driver on the newest Mac anymore, even though the hardware works just fine. I didn’t want to throw this printer away, as it’s still worki...
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 ...