Skip to content

docs: add nginx cache

sedum requested to merge sedum/gancio:docs/nginx-cache into master

This add a section in the documentation related to "setup nginx" with these default values

proxy_cache_path /var/cache/nginx/gancio keys_zone=gancio_cache:1g max_size=80m inactive=1w;
server {
	...
	server_name gancio.domain.tld;
	proxy_cache gancio_cache;
	...
}

To check which content is currently cached run:

watch "strings /var/cache/nginx/gancio | grep KEY"
Edited by sedum

Merge request reports

Loading