Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

nginx reverse proxy for confluence server through ssl tunnel

Hi all, I have some problems to config my nginx reverse proxy for confluence. 

I use an SSH tunnel to connect to the server on which Confluence is running.
So far no problem. (ssh tunnel -> confluence) I use following URL:  http://localhost:8090/confluence;

Now I want to include ngnix-reverse proxy.
ssh tunnel -> nginx proxy -> confluence
If I use the common confuration that is offered here, no connection is made.

my configuration looks like this

location /confluence {
    proxy_set_header X-Forwarded-Host      $host;
    proxy_set_header X-Forwarded-Server   $host;
    proxy_set_header X-Forwarded-For        $proxy_add_x_forwarded_for;
    proxy_pass http://localhost:8090/confluence;
}

 

what i see in my browser is the following: 

i call following url

http://localhost:88/confluence (a connection to nginx server over the ssh tunnel, that lisens on port 80) I see that the ngnix server gets the request from my remote client.

suddenly the url is adjusted and becomes 

http://localhost/confluence/

and I get 404 back.

Has anyone had similar experiences?

How did you solve the problem?

 

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events