Forums

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

Public link with Nginx/CloudFront get 403

Ben Rieger
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!
July 24, 2024

I'm trying to map public links path to a shorter path.
I'm using a Nginx reverse proxy.
The same happens with CloudFront.


This is the configuration:


server {
  listen 80;

  location /  {
    proxy_pass https://my-domain.atlassian.net/;
    proxy_http_version 1.1;
  }
  location /testdoc {
    proxy_pass https://my-domain.atlassian.net/wiki/external/SOME_PUBLIC_LINK_ID;          proxy_http_version 1.1;
  }
}




When I go to localhost:80/wiki/external/SOME_PUBLIC_LINK_ID everything works but when I go to localhost:80/testdoc I get the error "We couldn't find what you're looking for".
I can see that one of the requests to /cgraphql "internalFrontendResource" get 403.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events