Here are the permissions on the directories
/var/lib/nginx
drwxrwxrwx. 4 nginx nginx 35 Jul 15 15:28 nginx
/var/lib/nginx/cache-github
drwxrwxrwx. 2 nginx nginx 6 Jul 15 15:28 cache-github
I’ve set the following as well but still get the X-RateLimit-Remaining decreasing on each request.
It decreases even if I use the ETag header in my curl request and get HTTP/1.1 304 Not Modified reply.
-H ‘If-None-Match: “ETag_Number”‘
proxy_set_header User-Agent GitHubUserName;
proxy_set_header Authorization “token …”;