Skip to content

Reverse proxy configuration #13772

Answered by zyiqian
zyiqian asked this question in Help
Oct 18, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

I have already done it by injecting NGINX config.

server {
  listen 8081;
  server_name example-a.com;
  location / {
      proxy_pass http://example-b.com:80;
      proxy_set_header Connection "";
      proxy_set_header X-Real-Ip $remote_addr;
      proxy_set_header remoteip $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
}

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@zyiqian
Comment options

@Oyami-Srk
Comment options

@zyiqian
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by zyiqian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc...
3 participants