HTTP Headers

HTTP Headers

HTTP headers are the core part of the HTTP requests and responses, and they carry information about the client browser, the requested page, the server and more.

Here are the main headers which can be used while using Apiqcloud environments for deploying your apps:

Header Description Value
host  this request-header field specifies the Internet host and port number of the resource being requested, as obtained from the original URL given by the user or referring resource {environment_name}.{hoster_domain}:
x-forwarded-proto the originating protocol of an HTTP request http/https
x-real-ip ending IP address of a client connecting to a web server xxx.x.x.x (IP)
x-forwarded-for the originating IP addresses of a client connecting to a web server through an HTTP proxy or load balancer xxx.x.x.x, xx.xx.xxx.xx (IPs)
x-host the originating domain name of the server (for virtual hosting) and optionally the TCP port number {environment_name}.{hoster_domain}
x-uri a string of characters used to identify a name or a web resource /

In Apiqcloud you should take into consideration the following scenarios concerning environment topology:

  • Only 1 application server instance
  • Balancer (as an entry point) and application server(s)
  • Only 1 application server instance with Public IP
  • Balancer (as an entry point) with Public IP and application server(s)
Topology Supported headers
1 app server host
x-forwarded-proto
x-real-ip
x-forwarded-for
x-host
balancer and app server(s) host
x-real-ip
x-host
x-forwarded-for
x-uri
x-forwarded-proto
1 app server with Public IP host
balancer with Public IP and app server(s) host
x-real-ip
x-host
x-uri

 

  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Share Environment

Share Environment A client who originally created an environment becomes its Owner and share...

Clone Environment

Cloning Environment Apiqcloud provides multiple environments in just a few clicks, like...

Create Environment

How to Create your Apiqcloud Environment Firstly,  you need to create an appropriate...

Environment Aliases

Environment Aliases To ease the process of management, creating alternative (alias) for an...

Enviornment Variables

Environment Variables: To store the values of the frequently used parameters environment...