Introduction 10 June of 2020 NGINX announced the release of the preview version of the HTTP server and NGINX proxy server with […]
Tag: nginx
Images preview with ngx_http_image_filter_module
Often on multimedia sites, there is the task of displaying pictures in various sizes (thumbnails). Moreover, in most cases, you […]
nginx 504 gateway time-out
A 504 gateway time-out error occurs when Nginx cannot receive a response from service long enough. For example from PHP-FPM. […]
static caching and cache-control
Client-side caching is the ability of the browser to save files locally so as not to make repeated calls to […]
How to use cache-control on Nginx
The Cache-control header allows you to save certain files from the site in the browser’s cache, so that when you […]
Nginx load balancing
Load balancing between multiple applications, backends, and servers is part of the process of optimizing resources, improving performance, and fault […]
Nginx how to make 301 redirect
To make Nginx 301 you’ll need to add rewrite rule with permanent in the end: Redirect from www to “non-www” From time to […]
Nginx 502 Bad Gateway
Error 502 Bad Gateway means, that Nginx cannot get a response from some service. Gateway means that the error did not occur […]
Nginx try_files
The try_files directive is convenient to use if you need to check several folders before uploading the file. Nginx try_files […]
upstream sent too big header while reading response header from upstream
Error “upstream sent too big header while reading response header from upstream” occurs in Nginx when using the FastSGI module […]