Cloud project

Job ID: 33876143

Budget: ₹1,500 – ₹12,500 INR

Create an origin web server on a platform of your choosing. This could be in AWS, Google Cloud, Digital Ocean etc. This web server must run an endpoint that returns all HTTP request headers in the body of the HTTP response. The endpoint can be something that you have written yourself (e.g. in php, jsp, aspx etc) or by using a 3rd party application such as HTTPBin. Proxy traffic to this server through Cloudflare.
2. Secure the communication between Cloudflare and your Origin Server with a TLS certificate using Cloudflare’s SSL mode Full-Strict.
3. Secure the communication between the visitor and Cloudflare and Cloudflare and your origin with TLS 1.2 or above.
4. Install and configure Cloudflare Argo Tunnels on your origin server using a subdomain called “tunnel”, so that connections proxied to your server are protected using this tunnel.
5. Using an API scoped token, write an API call that outputs all of your DNS records. Include the scope, API call and it’s output.
6. Implement the script from the appendix as a Cloudflare Worker. The purpose of this script is to perform a redirect to "https://developers.cloudflare.com/workers/about/" whenever the request is made using cURL. Include your native code with your submission.
Note: the script in its current form is deliberately broken and needs fixing.
Bonus points - improve the script by adding logic that bypasses this redirect if the client request includes a special cookie+value pair (cookie name: "cf-noredir", cookie value: "true").
6. Lock down access for a particular path (e.g. domain.com/secure) and only allow access for a particular user or a group of users.