limit requests and CORS Policy

2020-12-18 Thread Ali Mohsin
Hello, I want to setup limit requests on my API server but I want separate limit to every separate link. e.g i'm requesting to /api/link1 and i'm being blocked I should be able to use /api/link2 normally if I don't exceed the limit. I have achieved this with the following code limit_req_zone $bin

Re: limit requests and CORS Policy

2020-12-28 Thread Ali Mohsin
; no other settings is changed. On Sun, Dec 27, 2020 at 12:10 AM Francis Daly wrote: > On Fri, Dec 18, 2020 at 06:54:57PM +0500, Ali Mohsin wrote: > > Hi there, > > > I have achieved this with the following code > > > > limit_req_zone $binary_remote_addr

Re: wordpress with Nginx + fastcgi_cache with ssl but behind haproxy

2021-02-08 Thread Ali Mohsin
Hi, normally when I get infinite loop with ssl, its usually because of redirection of http to https. Sometimes front proxy (cloudflare or haproxy) is expecting simple http traffic and it gets https traffic and vice versa. Also check your wordpress settings and its url. Try changing it. And why are

Re: wordpress with Nginx + fastcgi_cache with ssl but behind haproxy

2021-02-09 Thread Ali Mohsin
l the SSL offloading going on > these days, you’d think this isn’t a too unusual case… > > > > > > > > > Am 09.02.2021 um 05:08 schrieb Ali Mohsin : > > Hi, normally when I get infinite loop with ssl, its usually because of > redirection of http to https. Sometim