Exploit.cz

How to serve WEBP instead of JPG

This article will help you serve your jpeg images in next gen format like WEBP Imagine that our obsolete image has url: /img/food/1024x1024/recepty/kureci-spizy-s-chrestem.jpg [https://cdn.chrestoveslavnosti.cz/img/food/1024x1024/recepty/kureci-spizy-s-chrestem.jpg] Steps: 1. Generate new webp pictures next to your jpg pictures -

How to solve x-real-ip 127.0.0.1 issue in Kubernetes Rancher cluster

I am using L4 Nginx Loadbalancer to Kubernetes Cluster nodes with Stream configuration in Nginx. Problem is that all Ingress resources got remote_ip from localhost * x-forwarded-for=127.0.0.1 * x-real-ip=127.0.0.1 How to fix? 1. You have to edit global ingress config in ConfigMap named

Terraform: Autogenerate LoadBalancer config for Nginx

My production stack is build on top of Kubernetes cluster running in the Hetzner Cloud powered by Rancher 2. High Availability Installation with External Load Balancer (TCP/Layer 4) needs nginx.conf with all IP addresses of all worker nodes. I dont want to hardcode IPs into this config, so

Resolve not working Symfony ESI/SSI caching

If you have done this setup Symfony HttpCache [https://symfony.com/doc/current/http_cache.html] and ESI - Working with Edge Side Includes [https://symfony.com/doc/current/http_cache/esi.html] and your application is still not loading from cache, here is solution for you. Firstly you have

Exploit.cz © 2026