fliespl

Results 46 comments of fliespl

Why not just merge them? Read .env first and then .env.custom (or .env.local?) to overwrite values we want to change. Is there any specific problem with such approach?

But shouldn't RESOLVERS env variable be set at entrypoint according to the codebase based on /etc/resolv.conf? On start i don't see it in env, but once I execute command locally...

@darkweak do you think it might be possible to make it configurable and not depending on upstream response cache-control? I would like to enable fallback to server STALE page in...

@darkweak thanks - do you have any example of that? I have tried a few things without success...

@darkweak actually, I was not able to use this. Steps tried: Simple test.php file with: Cache-Control: max-age=10, stale-if-error=120 I get cached on first request, disable php upstream. Cache works for...

curl https://domain or curl -I https://domain No matter if it's GET / HEAD same output.

@darkweak isn't stale-if-error only response header? I haven't seen any browser utilizing it for "request". I would assume it's origin response to cache servers that instructs them that in case...

@darkweak okay so my initial request still stands - allow serving stale content no matter what request sends (since max-stale is not used). Maybe it should allow it if mode...

@darkweak also found one other issue which is probably connected. At default setup (without souin) if reverse proxy (php fastcgi) returns status 500 with html it gets displayed (i.e. wordpress...

@darkweak @vejipe Didn't realize it's connected - thanks much! :) Great job by the way!