We installed Jira on EC2 and offloading SSL in AWS ALB(Application Load Balancer). On EC2 we installed Nginx for performance benefits. So the request goes from client -> AWS ALB (80)-> Nginx (8888)-> Jira (8080).
We are forwarding all HTTP requests to HTTPS in ALB only.
I'm forwarding all requests from Nginx to Jira using the Nginx setting
proxy_pass https://localhost:8080
I tried it in two different ways,
1) I changed server.xml by adding proxy address and port to ALB address (Considering ALB as proxy )
The problem is when we enter the ALB URL, It is not redirecting to Jira default page i.e https://server_name/secure/Dashboard.jspa instead it is redirecting to "/secure/error.jsp" stating the database configuration is incorrect. But when we hit the Jira default Url directly it serving the page correctly.
2) I changed server.xml by adding the proxy address as "localhost" (Considering Nginx as proxy )
All my URLs are pointing http://server_name:8888/secure/Dashboard.jspa (which is invalid as my ALB running on port 80) instead of http://server_name/secure/Dashboard.jspa
How do I configure Jira which is behind Nginx and AWS ELB?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.