1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/nginx
Kristian Klausen a0ef2cb7cc
loki/nginx: Add recording rule for tracking upstream cache status[1]
This enables us to calculate the cache hit ratio, which may help
determine whether more caching would be beneficial.

Please note that this only counts requests for which caching is enabled
(e.g. {fastcgi,proxy}_cache is configured), e.g. for static served files
cache_status will be "".

[1] http://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_cache_status
2024-12-22 15:30:40 +01:00
..
defaults nginx: Add plumbing for enabling HTTP/3 conditionally 2024-08-17 21:53:32 +02:00
files Send the nginx logs to Loki 2021-04-08 20:33:43 +02:00
handlers Capitalize the first letter of all task names 2022-08-23 06:57:13 +03:00
meta nginx: Add option for installing extra modules 2024-07-31 21:28:45 +02:00
tasks nginx: Add plumbing for enabling HTTP/3 conditionally 2024-08-17 21:53:32 +02:00
templates loki/nginx: Add recording rule for tracking upstream cache status[1] 2024-12-22 15:30:40 +01:00