Welcome! Log In Create A New Profile

Advanced

RE: Caching Method

Reinis Rozitis
August 14, 2019 05:32PM
> I have configured nginx to cache static content, but i cant see any file in caching
> folder, also when i'm opening page in DevTool on network tab it show

Unless you have somehow messed up the configuration in the email, something like:


server {

listen 443 ssl;

server_name www.watchbox.ge watchbox.ge;
location / {
proxy_pass https://watchbox.ge;

}


doesn't make sense (to me) as it would make an infinite nested loop - the server proxies itself (unless internally the watchbox.ge resolves to some other server).


Also by looking at the headers: cf-ray: 50655a0c2cf0d413-BUD is there also CloudFlare somewhere in-between? Maybe the object is already cached on CF and isn't even requested from the origin server?

At least in the response I don't see this header at all: add_header 'X-GG-Cache-Status' $upstream_cache_status;



I would suggest to try with simplified configuration. It's quite hard to help in this case.

rr



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Caching Method

hhypnos August 14, 2019 03:34PM

RE: Caching Method

Reinis Rozitis August 14, 2019 05:32PM

Re: RE: Caching Method

hhypnos August 15, 2019 07:36PM

Re: RE: Caching Method

hhypnos August 15, 2019 07:38PM

Re: RE: Caching Method

Francis Daly August 16, 2019 03:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 258
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready