events { worker_connections 1024; } http { sendfile on; server_tokens off; gzip on; gzip_http_version 1.0; gzip_proxied any; gzip_min_length 500; gzip_disable "MSIE [1-6]\."; gzip_types text/plain text/xml text/css text/comma-separated-values text/javascript application/x-javascript application/atom+xml; # Configuration for the server server { # Running port listen 80; # fixing nginx's non-useful DNS caching resolver DNS_PLACEHOLDER; set $backend "https://prod-ows-collaborator.theorchard.io:443"; # Proxying the connections connections location /transferwise/webhook { proxy_pass $backend; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; } # health check location /hello/ { access_log off; return 200; add_header Content-Type text/plain; } } } daemon off;