Re: Question about proxy

2023-01-30 Thread Francis Daly
On Mon, Jan 30, 2023 at 10:39:52PM -0500, Saint Michael wrote: Hi there, > Can you please elaborate on this: > "You probably want subs_filter_types to include text/html, and you probably > want "r" on the subs_filter patterns that are regular expressions rather > than fixed strings" > one example

Re: Question about proxy

2023-01-30 Thread Saint Michael
Can you please elaborate on this: "You probably want subs_filter_types to include text/html, and you probably want "r" on the subs_filter patterns that are regular expressions rather than fixed strings" one example will suffice. On Mon, Jan 30, 2023 at 8:20 PM Francis Daly wrote: > > On Sun, Jan

Re: Question about proxy

2023-01-30 Thread Francis Daly
On Sun, Jan 29, 2023 at 03:17:15PM -0500, Saint Michael wrote: Hi there, > What causes each case, i.e., what do I need to do so always the > https://domain.com is NOT the original domain being proxied, but my > own domain (https://disney.ibm.com). You seem to be using the module at https://githu

Question about proxy

2023-01-29 Thread Saint Michael
In my website, I proxied https://perplexity.ai trough a domain of mine but when I get redirected, I see on top, on the domain line, not my own line. In other cases, I see my own domain line. What causes each case, i.e., what do I need to do so always the https://domain.com is NOT the original domai

Re: Simple question about proxy cache

2013-03-22 Thread John Moore
On 22/03/13 14:11, Maxim Dounin wrote: > This looks like valid regular expression (try pcretest if unsure), but > from maintainability point of view I would recommend to use multiple > normal prefix or exact match locations instead of trying to combine > them into a single regexp. Yes, you're

Re: Simple question about proxy cache

2013-03-22 Thread Maxim Dounin
Hello! On Fri, Mar 22, 2013 at 12:24:21PM +, John Moore wrote: > On 22/03/13 11:43, Maxim Dounin wrote: > > Hello! > > > > On Fri, Mar 22, 2013 at 11:18:50AM +, John Moore wrote: > > > > [...] > > > >> Actually, there is one final tweak I'd like. There are a number of > >> different locat

Re: Simple question about proxy cache

2013-03-22 Thread John Moore
On 22/03/13 11:43, Maxim Dounin wrote: > Hello! > > On Fri, Mar 22, 2013 at 11:18:50AM +, John Moore wrote: > > [...] > >> Actually, there is one final tweak I'd like. There are a number of >> different locations which I'd like to use the proxy cache for. I cannot >> repeat for each location th

Re: Simple question about proxy cache

2013-03-22 Thread Maxim Dounin
Hello! On Fri, Mar 22, 2013 at 11:18:50AM +, John Moore wrote: [...] > Actually, there is one final tweak I'd like. There are a number of > different locations which I'd like to use the proxy cache for. I cannot > repeat for each location the block where the cache log is defined (it > rig

Re: Simple question about proxy cache

2013-03-22 Thread John Moore
On 22/03/13 11:18, John Moore wrote: > > Actually, there is one final tweak I'd like. There are a number of > different locations which I'd like to use the proxy cache for. I cannot > repeat for each location the block where the cache log is defined (it > rightly complains about duplication). So I

Re: Simple question about proxy cache

2013-03-22 Thread John Moore
On 18/03/13 11:21, John Moore wrote: > On 17/03/13 23:08, Maxim Dounin wrote: >> Hello! >> >> On Sun, Mar 17, 2013 at 08:08:39PM +, John Moore wrote: >> >>> I've used nginx as a reverse proxy server for a long while but I've not >>> tried out the proxy cache until today, and I have to say I'm a

Re: Simple question about proxy cache

2013-03-18 Thread John Moore
On 17/03/13 23:08, Maxim Dounin wrote: > Hello! > > On Sun, Mar 17, 2013 at 08:08:39PM +, John Moore wrote: > >> I've used nginx as a reverse proxy server for a long while but I've not >> tried out the proxy cache until today, and I have to say I'm a little >> bit confused by what I'm seeing in

Re: Simple question about proxy cache

2013-03-17 Thread Maxim Dounin
Hello! On Sun, Mar 17, 2013 at 08:08:39PM +, John Moore wrote: > I've used nginx as a reverse proxy server for a long while but I've not > tried out the proxy cache until today, and I have to say I'm a little > bit confused by what I'm seeing in the cache log, and I'm wondering > whether I

Simple question about proxy cache

2013-03-17 Thread John Moore
I've used nginx as a reverse proxy server for a long while but I've not tried out the proxy cache until today, and I have to say I'm a little bit confused by what I'm seeing in the cache log, and I'm wondering whether I've set things up correctly. My requirements are actually pretty simple. I h