NGINX reverse proxy with Golang backend service that demonstrate what would be inclued in request headers.
This is for demonstration purposes only. Do not use in production environments.
- Navigate to the docker-compose directory:
cd docker-compose- Start the services:
docker-compose up- Open the page with your browser: http://localhost:8080
You should see your request headers displayed on the page.
- Apply the Kubernetes manifests:
kubectl apply -f kubernetes/- Forward the port to access locally:
kubectl port-forward service/nginx 8080:80- Open the page with your browser: http://localhost:8080
You should see your request headers displayed on the page.