D
D
double_t0uble2018-06-08 15:03:09
Nginx
double_t0uble, 2018-06-08 15:03:09

How to fix Jira gadgets display issue (_MSG_gadget..._)?

The problem is the display of Jira gadgets, when wrapped through Nginx, with system names: 5b1a6e254e4cd715288690.png
I made all the settings according to the manuals from Atlassian, but I can’t overcome the error.
Also on one of the forums I found a hint for setting up iptables, which should solve my problem:

iptables -t nat -I OUTPUT -p tcp -o lo --dport 80 -j REDIRECT --to-ports 8080
iptables -t nat -I OUTPUT -p tcp -o eth0 --dport 80 -j REDIRECT --to-ports 8080

For my case, I changed it to:
iptables -t nat -I OUTPUT -p tcp -o lo --dport 443 -j REDIRECT --to-ports 8080
iptables -t nat -I OUTPUT -p tcp -o eth0 --dport 443 -j REDIRECT --to-ports 8080

Help, who faced))
The configurations are given below.
Nginx:
server {
        listen 						       80 default_server;
        server_name 					       subdomain.domain.com.ua;
    rewrite 		^ https://$server_name$request_uri? permanent;
}
server {
    server_name 					subdomain.domain.com.ua;
          listen					        443;
    ssl                  			                on;
    ssl_certificate         		                "/home/test/cert/2018/test.crt";
    ssl_certificate_key     		        "/home/test/cert/2018/test.key";
    ssl_protocols  					SSLv2 SSLv3 TLSv1;
    ssl_ciphers  					HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers   	        on;

    location / {
                        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://10.11.10.102:8080;
      client_max_body_size 50M;
    }
}

Jira "server.conf":
<Connector port="8080" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
                   maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
                   acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="true" scheme="https"
                   proxyName="subdomain.domain.com.ua" proxyPort="443"/>

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry, 2018-08-12
@double_t0uble

Do you have jira and nginx on the same machine?
If so, change proxy_pass to 127.0.0.1 and add the entry
127.0.0.1 subdomain.domain.com.ua to /etc/hosts
I'm writing from a phone - not convenient, I hope this helps. If not, tomorrow from the computer I will write down all such a configuration in detail.

K
kleilike, 2014-09-04
@kleilike

Asus
Cards are enough for gaming. And the laptop itself is made very high quality. They took this because of the screen

D
Deerenaros, 2014-09-17
@Deerenaros

About the screen: yes and no. It's such a thing, you won't understand the charms of a good screen until you have it. But specifically in this case, you won’t notice the difference between FullHD and 720p at 15 inches when everything flickers and sparkles, and in this case you can save a couple of fps. However, if you often work with sound, images and / or video, then Retina (or something similar) will work very well, but 1080 lines is the minimum.
As for specific models, there are thousands of them. I recommend looking at asus and lenovo - excellent manufacturers. What do they have to watch. Well, everything is quite simple here: the CPU is no less than Core i5, the GPU is no less than 730GTM (despite the fact that this is quite a minimum, I would hardly have taken less than 740GT). Well, RAM is preferably 8 GB, although 4 will also work, but today they don’t install laptops with discrete graphics less than 4x. The rest is optional. If you want to start up quickly - it would not be bad for a hybrid (which I do not advise - they break often) or an SSD. If you want a permanent connection - 4g. Want "greater" security - add biometrics. If you want more mobility - then you need to look at ultrabooks. Well, and so on.

A
alextih, 2016-01-12
@alextih

Now, if you want to play and work with the Razer Blade Stealth laptop

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question