Forums

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

What's the proxyName and portPort when deployed behind reverse proxy and NAT ?

ycycn
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!
April 18, 2020

If jira behind reverse proxy and NAT

I want to access jira use http://1.1.1.1:111/jira

Internet <--->rouner[1.1.1.1:111]<--->reverse proxy[2.2.2.2:222]<--->jira(whatever)[3.3.3.3:333]

what's proxyName and proxyPort should be set in server.xml?

proxyName=1.1.1.1 proxyPort=111

or

proxyName=2.2.2.2 proxyPort=222

I have already read:

https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html

https://confluence.atlassian.com/jirakb/configure-jira-server-to-run-behind-a-nginx-reverse-proxy-426115340.html

 

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 19, 2020

The server name and port should be set to whatever the proxy is announcing itself as on the internet, and hence the root of your base url as well.

If, for example, you want to see your Jira on https://yourdomain.com/jira then set the proxyname to yourdomain.com and the port to 443 (that's the default for ssl, so you don't need it in the address)

Suggest an answer

Log in or Sign up to answer