Skip to content

Instantly share code, notes, and snippets.

@byurhannurula
Last active July 28, 2023 11:46
Show Gist options
  • Save byurhannurula/8e472112209fe5c6e2960564cd880fa8 to your computer and use it in GitHub Desktop.
Save byurhannurula/8e472112209fe5c6e2960564cd880fa8 to your computer and use it in GitHub Desktop.
server {
server_name grvty-relay.recheck.io;
set $upstream 127.0.0.1:4001;
location / {
proxy_pass_header Authorization;
proxy_pass http://$upstream;
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_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;
client_max_body_size 10m;
proxy_read_timeout 120s;
proxy_send_timeout 120s;
proxy_redirect off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment