Services/F1/Server/ServicesStatusDB: Difference between revisions

Line 8: Line 8:


1. On every request the client adds a X-Target-Service header containing the domain of the service it wants to reach.  
1. On every request the client adds a X-Target-Service header containing the domain of the service it wants to reach.  
  For example, if the clients want to share on Twitter, a "X-Target-Service: twitter.com" is added.
For example, if the clients want to share on Twitter, a "X-Target-Service: twitter.com" is added.


2. The web server (NGinx) that receives the query ask the Services DB what is the status of the service (as described later) and decide if the query should go through or not.  
2. The web server (NGinx) that receives the query ask the Services DB what is the status of the service (as described later) and decide if the query should go through or not.  
Confirmed users
927

edits