Categories

Tools

Nginx Proxy Manager 2.17: how to fix nginx: [emerg] unknown "hsts_header" variable

Nginx Proxy Manager 2.17 no longer defines the $hsts_header variable: its templates generate $hsts_header_plain and $hsts_header_subdomains. If a host uses it in its custom configuration, nginx fails with unknown "hsts_header" variable once the last old host config is regenerated. Rename the variable to $hsts_header_plain or define it in /data/nginx/custom/http_top.conf.

Tools

How to fix r.map is not a function in the Jellyfin 12 dashboard

The Jellyfin 12 dashboard error r.map is not a function appears when /web/ConfigurationPages returns HTML or an empty body instead of JSON, and the web client keeps that answer in IndexedDB for 24 hours. Fix the reverse proxy, then delete the jellyfin-query-cache key and the browser's cached files.

Tools

How to enable CrowdSec 1.8 bot detection

CrowdSec 1.8 adds bot detection to its WAF, still in alpha, which serves every visitor a page with a proof of work and a browser fingerprint. You enable it with the appsec-bot-challenge collection and its configs in the AppSec acquisition, always behind a compatible bouncer such as OpenResty 1.2.3.