Skip to content
Snippets Groups Projects

mirrorauth: Ensure archweb is queried only once per cache TTL

Merged Evangelos Foutras requested to merge mirrorauth-cache-tweaks into master
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -42,7 +42,11 @@ server {
# Cache responses from the auth proxy
proxy_cache auth_cache;
proxy_cache_key "$scheme$proxy_host$request_uri$http_authorization";
proxy_cache_key $scheme$proxy_host$uri$http_authorization;
# Minimize the number of requests to archweb
proxy_cache_lock on;
proxy_cache_use_stale updating;
# Authentication to archweb
proxy_pass https://archlinux.org;
Loading