error_log /var/log/nginx/error.log debug; worker_processes 1; events { worker_connections 1024; } http { server { location / { proxy_pass http://httpbin.org$request_uri; proxy_set_header Host httpbin.org; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; } } }