π Node [[nginx-caching]]
β³ π Subnode [[@flancian/nginx caching]]
β³ π Subnode [[@flancian/nginx caching]]
π
nginx caching.md (text) by @flancian
οΈζ¬
π
nginx caching
-
[[push]] [[agora server]]
- [[pull]] [[before and after cache]]
- added this to nginx.conf in http scope:
uwsgi_cache_valid any 30s;
uwsgi_cache_path /tmp/agora-cache keys_zone=agora-cache:1000m;
-
[[push]] [[agora server]]
- and this is what the [[agora]]'s
location
looks like in the virtual host:
- and this is what the [[agora]]'s
location / {
uwsgi_cache agora-cache;
uwsgi_cache_key $scheme$host$request_uri;
include uwsgi_params;
# /home/agora/agora-server/run-prod.sh to run.
uwsgi_pass unix:/tmp/agora-uwsgi.sock;
}
β portal to [[before and after cache]] built by an Agora user
Loading context... (requires JavaScript)
ποΈ Stoas for [[@flancian/nginx caching]]
π Open document (Hedgedoc) at https://doc.anagora.org/nginx-caching
π Open document (Etherpad) at https://stoa.anagora.org/p/nginx-caching