Re: Cache based on custom header

2017-02-08 Thread Peter Booth
Yes you can. For some subtle custom cache logic I needed to use openresty, which is an nginx bundle that adds a lot of customization points. Sent from my iPhone > On Feb 8, 2017, at 5:47 PM, Chad Hansen via nginx wrote: > > I use nginx as a reverse proxy, and upstream clients have a need for m

Cache based on custom header

2017-02-08 Thread Chad Hansen via nginx
I use nginx as a reverse proxy, and upstream clients have a need for my service to cache differently than downstream servers. Is there a way to change what header nginx uses to accept cache settings? Or a way to re-write cache headers before the cache settings take affect? For example, I could ha

What does the "event timer add" step in the debug log signify?

2017-02-08 Thread nginx user
i am having a problem with trying to use oauth services in that the callback from the provider gets “stuck” on my server. The logs in the pastebin here: http://pastebin.com/qncJKVwQ summarise the experience. Nginx is setup as reverse proxy to Apache which handles PHP using CGI. that is, the old f

Re: Nginx only sends hostname to syslog.

2017-02-08 Thread Maxim Dounin
Hello! On Wed, Feb 08, 2017 at 09:05:19AM +0100, B.R. via nginx wrote: > From what I read > , > 'host name' aka name of the host is a FQDN in the hostname.domain format ( > domain being able to have n level-s). Just quo

Re: Nginx only sends hostname to syslog.

2017-02-08 Thread B.R. via nginx
Correct me if I am wrong, since I probably will. >From what I read , 'host name' aka name of the host is a FQDN in the hostname.domain format ( domain being able to have n level-s). Thus, it seems that setting a FQDN as h