| 1 | Client send to nginx proxy with URI "/confluence/rest/applinks/1.0/applicationlinkForm/url/http://127.0.0.1:8080/jira.json?_=1315386721160".
|
|---|
| 2 |
|
|---|
| 3 | But nginx send to real server with incorrect URI "/confluence/rest/applinks/1.0/applicationlinkForm/url/http:/127.0.0.1:8080/jira.json?_=1315386721160".
|
|---|
| 4 |
|
|---|
| 5 | String "http://127.0.0.1:8080/" is truncated to "http:/127.0.0.1:8080/".
|
|---|
| 6 |
|
|---|
| 7 | nginx.conf
|
|---|
| 8 | location /confluence {
|
|---|
| 9 | proxy_set_header Host $host;
|
|---|
| 10 | proxy_pass http://127.0.0.1:8090/confluence;
|
|---|
| 11 | proxy_redirect http://127.0.0.1:8090/confluence/ /confluence/;
|
|---|
| 12 | }
|
|---|