Lỗi 504 Gateway Time-out (nginx) với WordPress/PHP-FPM thường do PHP-FPM (hoặc backend khác) không kịp trả lời trong thời gian Nginx chờ. Dưới đây là playbook xử lý nhanh, theo thứ tự ưu tiên — làm lần lượt và test lại sau mỗi bước.
(more…)Tag: nginx
-
![[Resolved] Kubernetes Ingress Error 404 on Non-Root Path of Single Page App](https://hqsa.io/wp-content/uploads/2025/02/k8s-nginx-ingress-containers-404-single-page.png)
[Resolved] Kubernetes Ingress Error 404 on Non-Root Path of Single Page App
If you’re deploying a web application in Kubernetes using NGINX Ingress, you may encounter a 404 Not Found error when accessing non-root paths. This issue is common when using React Router (SPA), Angular, or Vue.js, as well as APIs mapped to a subpath.
In this guide, we’ll explain why this happens and how to fix it using NGINX Ingress annotations and proper configurations.
(more…)

