Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get a 403 while access Confluence by Nginx(XSRF check failed)

yusunan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 2, 2022

Confluence base URL is 1.1.1.1:8600.And working well.
But we had an other team had to access Confluence by Nginx

It's different with base URL.

The Nginx Server IP is 2.2.2.2,And we can access Confluence by Nginx(XSRF check failed)
Bug get a 403 error in network,And we can't create page by Nginx.

nginx.conf


location / {
proxy_pass http://1.1.1.1:8600;
client_max_body_size 100m;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header Referer $http_referer;
proxy_set_header Cookie $http_cookie;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

}

In summary we want to access Confluence by differnet URL,but it only one base URL in settingsAny settings can solve this problem?

截屏2022-03-02 下午2.15.28.png截屏2022-03-02 下午2.15.36.png

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events