Re: Access to XMLHttpRequest has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

2020-05-28 Thread Francis Daly
On Thu, May 28, 2020 at 08:16:43PM +0530, Kaushal Shriyan wrote: > On Thu, May 28, 2020 at 6:11 PM Francis Daly wrote: > > On Thu, May 28, 2020 at 12:50:34PM +0530, Kaushal Shriyan wrote: Hi there, > > In your "drupal" nginx config, if the request is handled in the "php" > > location, there is n

Unit 1.18.0 release

2020-05-28 Thread Valentin V. Bartenev
Hi, I'm glad to announce a new release of NGINX Unit. This release includes a few internal routing improvements that simplify some configurations and a new isolation option for chrooting application processes called "rootfs". Changes with Unit 1.18.028 Ma

RE: Switch between upstream server

2020-05-28 Thread Reinis Rozitis
> the links you’ve sent me I have tried to log in with my usual email and and > password I use and it’s not correct tried to click remind then it doesn’t > work You can just send email to nginx-requ...@nginx.org with subject 'unsubscribe' (without quotes). It should remove you from list (it

Re: Access to XMLHttpRequest has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

2020-05-28 Thread Kaushal Shriyan
On Thu, May 28, 2020 at 6:11 PM Francis Daly wrote: > On Thu, May 28, 2020 at 12:50:34PM +0530, Kaushal Shriyan wrote: > > Hi there, > > > Access to XMLHttpRequest at ‘ > > > https://tmobilereactdrupal.mydomain.com:8080/oauth/token’ from origin > ‘ > > > https://tmobilereactdrupal.mydomain.com’ h

Re: Switch between upstream server

2020-05-28 Thread Sam Henaghan
I have tried all of them it took me to that page earlier I have been receiving emails for the last 2 days and there’s more than 10 of all different things that haven’t been me who’s set it up , the links you’ve sent me I have tried to log in with my usual email and and password I use and it’s no

Re: Switch between upstream server

2020-05-28 Thread Andrei
Use the upstream backup option, not two active with weight differences On Thu, May 28, 2020 at 4:52 PM Sam Henaghan wrote: > I can’t do so as when I go on it it says that 02 my phone company have > blocked it and it’s not secure so please help me out if possible as I > haven’t done it, I can’t p

Re: Switch between upstream server

2020-05-28 Thread Sam Henaghan
I can’t do so as when I go on it it says that 02 my phone company have blocked it and it’s not secure so please help me out if possible as I haven’t done it, I can’t possible do it I’ve clicked every link u av sent me aswell Sent from my iPhone > On 28 May 2020, at 2:06 pm, itpp2012 wrote: >

Re: Switch between upstream server

2020-05-28 Thread itpp2012
Sam Henaghan Wrote: --- > Please stop emailing me and delete anything or any information you > have about me or even accounts please this wasn’t me whatever has been > made so please delete You have joined a public mailing list with the email ad

RE: Switch between upstream server

2020-05-28 Thread Reinis Rozitis
> But when A is not available, it should send request to B. > When A come back, it should send requests to A. You can add 'backup' for the B server and it will be used only when all others (A) are down: https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server rr _

Re: Switch between upstream server

2020-05-28 Thread Sam Henaghan
Please stop emailing me and delete anything or any information you have about me or even accounts please this wasn’t me whatever has been made so please delete Sent from my iPhone > On 28 May 2020, at 1:22 pm, Praveen Kumar K S wrote: > >  > Hello, > > Is it possible to have multiple upstr

Re: Access to XMLHttpRequest has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

2020-05-28 Thread Sam Henaghan
Hi this wasn’t me whatever I have been added or entered too please delete any information u have about me and any account in my name someone has hacked or made something of me Sent from my iPhone > On 28 May 2020, at 1:41 pm, Francis Daly wrote: > > On Thu, May 28, 2020 at 12:50:34PM +0530,

Re: Access to XMLHttpRequest has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

2020-05-28 Thread Francis Daly
On Thu, May 28, 2020 at 12:50:34PM +0530, Kaushal Shriyan wrote: Hi there, > Access to XMLHttpRequest at ‘ > > https://tmobilereactdrupal.mydomain.com:8080/oauth/token’ from origin ‘ > > https://tmobilereactdrupal.mydomain.com’ has been blocked by CORS policy: > > No ‘Access-Control-Allow-Origin’

Re: Switch between upstream server

2020-05-28 Thread Martin Grigorov
Hi, On Thu, May 28, 2020 at 3:22 PM Praveen Kumar K S wrote: > Hello, > > Is it possible to have multiple upstream servers defined in nginx > configuration. But still the request should be sent to only one upstream > server. > Lets say, I have two upstream servers A and B. Nginx should proxy req

Re: Quick question on NGINX cache

2020-05-28 Thread Francis Daly
On Thu, May 28, 2020 at 01:20:04PM +1000, Jore wrote: Hi there, > Just chasing up below, if anyone has any suggestions? What request do you make? What response do you get? What response do you want instead? > So to recap, the situation is, I have nginx running Wordpress with the > Hypercache pl

Switch between upstream server

2020-05-28 Thread Praveen Kumar K S
Hello, Is it possible to have multiple upstream servers defined in nginx configuration. But still the request should be sent to only one upstream server. Lets say, I have two upstream servers A and B. Nginx should proxy request to A by default. But when A is not available, it should send request t

Access to XMLHttpRequest has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

2020-05-28 Thread Kaushal Shriyan
Hi, I am running Nginx version: nginx/1.16.1 on CentOS Linux release 7.8.2003 (Core) and have hosted react.js javascript 16.13.1 and Drupal CMS Framework 8.7.8. https://tmobilereactdrupal.mydomain.com (react.js javascript 16.13.1) which in turn talks to https://tmobilereactdrupal.mydomain.com:8080