Skip to content

T3O2-16616: derive purge key from nginx_proxy_cache_key so it cannot drift from proxy.conf - #83

Open
combssm wants to merge 1 commit into
masterfrom
T3O2-16616
Open

combssm wants to merge 1 commit into
masterfrom
T3O2-16616

Conversation

@combssm

@combssm combssm commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

The two /purge locations hardcode "$scheme$request_method$host$1" separately from nginx_proxy_cache_key in ansible-role-nginx_proxy. With the key moving to $http_host in inmotionhosting/ansible-role-nginx_proxy#36, the purge key is now rendered from the variable with $request_uri replaced by $1, so the two can no longer drift.

Rendered with the new default: proxy_cache_purge sitecache "$scheme$request_method$http_host$1";

nginx_proxy_cache_key already exists in nginx_proxy 3.1.0, so this renders against the current pin. Bump the pin in requirements.yml once the nginx_proxy change is tagged.

@combssm
combssm requested review from a team as code owners October 17, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant