Hello there,
I have configured our Jira integration with nginx as a reverse proxy as said here:
https://confluence.atlassian.com/jirakb/integrating-jira-with-nginx-426115340.html
But when I try my proxy address it shows me an scrambled page full of like:
)�8��ċ91&���L�������ƌ�C+��sքU鸞��Τ]��ENF����J0-�C$6laU��$�٬�D�rSAͺ�J~�K�tRI���> �G����,� �c�hz/K1=l�8l^�V��H�����W��0�������u�B@qP�
Jira address itself is working fine BTW.
my configuration on both sides are as follows
server.xml:
<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="80" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true" proxyName="[my reverse proxy url]" proxyPort="80" />
nginx.conf:
### Jira ###
server {
listen 80 default_server;
server_name [my jira machine FQDN];
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
#proxy_buffering off;
proxy_buffer_size 10k;
large_client_header_buffers 4 10k;
location / {
auth_basic "Username and Password Required";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://[my jira internal IP address];
client_max_body_size 30M;
}
What is the problem? Anyone has any idea?
lets suppose you access jira as http://jira.yourcompany.com
DNS record;
jira.yourcompany.com IN A <ip address of your nginx>
Server.xml;
<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="80" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true" proxyName="jira.yourcompany.com" proxyPort="80" scheme="http" />
nginx.conf:
server_name jira.yourcompany.com
...
....
proxy_pass http://[my jira internal IP address]:8080
Restart JIRA / nginx - hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.