News Articles nginx

How to build a CDN (2/3): server and reverse proxy configuration

In the previous article about basic CDN components we described what components you need to build a CDN, and today we will focus on the software configuration of the servers and the reverse proxy itself, which will cache the content to ensure that the data is always as close as possible to the end visitors. […]

Liman MYS'de Ansible eklentisi ile nginx kurulumu

Ansible eklentisi ile NGINX’in kurulumunu ve Ansible playbook’un nasıl yazılacağını inceleyeceğiz. Başlamadan önce, Liman’a Ansible eklentisini eklemiş olmamız gerekir. Ansible eklentisinin kurulum için: https://dev.to/liman/ansible-yonetim-eklentisi-4ina Ansible eklentisini başarılı bir şekilde eklediysek nginx kurmaya başlayalım. 1) Playbook Oluşturma Playbook’lar, Ansible’ın yapılandırma, dağıtım ve düzenleme işlevlerini kaydeder ve yürütür. Uzak sistemlerimizin uygulamasını istediğiniz bir politikayı veya genel bir […]

Caching with Nginx

Cache is your friend 😄 A lot of performance issues can be improved using cache, there is a lot of tools out here but for this brief tutorial I’ll choose the well-known Nginx. Setup 💻 You can clone the branch nginx-cache or follow this tutorial (I’ll only cover the nginx stuff) iamseki / dev-to Implementations […]

Node.js and Redis deployed in Docker containers, using Docker Compose – then load-balancing the Node.js servers with Nginx

This article contains two main stages: (1) Containerizing a Node.js server application and a Redis database instance into two separate Docker containers, using Dockerfile and Docker Compose, and showing how these two applications communicate with each other. (2) Load-balancing the Node.js server, using a containerized Nginx reverse-proxy. Let’s start with Stage 1: (1) Containerizing a […]

Deploying a Web App in AWS China

Authors: @aldorea & @sergiocb95 The Chinese market is becoming more and more important for companies due to the volume of customers this market represents. Therefore, companies with digital products want to focus their products on the Chinese population. Companies using AWS services have the opportunity to do so, but with a number of limitations to […]

How to Install and Use Materialize to Run SQL Queries on your nginx Logs

In this tutorial, I will show you how Materialize works by using it to run SQL queries on continuously produced nginx logs. By the end of the tutorial, you will Read All Source: Hacker Noon – Programming

Log4Shell: Lua + Nginx Mitigation

Prevent requests from reaching a vulnerable java application Continue reading on Level Up Coding » Source: Level Up Coding

K8s : Baremetal loadbalancer and ingress setup and usage demo

Some notes related to my testing loadbalancer, ingress & ingress controller (nginx) in my baremetal kubernetes cluster. https://github.com/upinder-sujlana/k8s-baremetal-loadbancer-ingress-demo/tree/main Source: DEV Community

vuejs nginx subdirectory deployment on refresh 404

i have configure my nginx with these config location / { try_files $uri $uri/ /index.php?$query_string; } location /apps/ { try_files $uri $uri/ index.php; } my result of npm run build i was rename mv dist apps the first router path ‘/’ would redirect to /login path const router = new VueRouter({ mode: ‘history’, base: process.env.BASE_URL, […]

Build Load Balancer in Go

Learn how to build a simple load balancer server in Go. Table of Contents: What is a Load Balancer Use cases Load Balancing techniques Load Balancer implementation Step 1: Create origin server Step 2: Create a load balancer server Conclusion Additional information Resources What is a Load Balancer A load balancer is a server that […]

Build Load Balancer in Go

Learn how to build a simple load balancer server in Go. Table of Contents: What is a Load Balancer Use cases Load Balancing techniques Load Balancer implementation Step 1: Create origin server Step 2: Create a load balancer server Conclusion Additional information Resources What is a Load Balancer A load balancer is a server that […]

We DON’T Need NGINX Anymore. Hello, KONG API Gateway!

API development has moved from a single stack monolithic architecture to the majestic microservices architecture. This requires a gateway server that should manage redirection, proxying and security over multiple requests. This means our old faithful NGINX has become a little outdated. (Let’s not even talk about Apache HTTP Server here!) Even if you run a […]

Connection refused while connecting to upstream in docker API 502 return

Currently, I’m working on one vue + laravel project that config and setup with docker nginx, and I’m new with docker development. The case is created like this, Project setup and working proper after a few days I got an update from DB and change the DB and run a few commands like below – […]

Deploy Vue to subdirectories

I want to deploy to a subdirectory I modified the ”publicpath“ according to the document But still 404 enter image description here enter image description here enter image description here enter image description here Source: Vue – Stack Overflow

WebSocket connection failed no error message

WebsocketConnectionFailed When I access the web directly, I can establish a websocket connection.When I set up websocket in acapp, it will fail on my pc. When I use other people’s computers, everything works fine. When the connection fails, the console cannot even give an error message. Source: JavaSript – Stack Overflow

Https Request payload too large. Help me in understanding the concept

I am trying to send a base64 string of a file in an axios request body. The file size is arond 370KB. I got request payload too large 413 error. After doing some research in internet learned that server is limiting the request size. Till now my understanding is clear. Now I changed it to […]

Relative root path for serving react static files

I am serving a react portal from my nginx proxy as follows: location /portal/ { proxy_pass http://portal:3000/; } The portal docker service is defined as follows: portal: image: xxxx/portal:v1.0.2 restart: always ports: – 3000:3000 environment: API_URL: http://IP/portal The issue is that webpage index page tries to source static (js/css) files etc which the browser is […]

Delayed Update of Root Site

I am working on a static HTML site (not WordPress/PHP-based) hosted on Siteground. When I update the index.html, the main site "www.domain.com" takes anywhere from hours to days to update accordingly. However, the page "www.domain.com/index.html" updates immediately. How can I speed this process up? I’ve already tried manually flushing the Dynamic Cache, but that doesn’t […]

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.