Hi,
I have setup Jira server with Nginx proxying. A custom subdomain is configured with forwarding to the local instance of Jira. Here is the configuration that I use in nginx:
server {
server_name mysubdomain.mydomain.com
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://127.0.0.1:5555;
}
}
Almost everything works fine. However, there are some resources that are still loaded from 127.0.0.1 instead of the server_name, and due to that it doesn't load them. For example, below 3 resources are always pointing to 127.0.0.1:
1. projectavatar.svg
2. useravatar.svg
3. http://127.0.0.1:5555/images/icons/priorities/medium.svg
4. http://127.0.0.1:5555/images/icons/issuetypes/story.svg
5. The last step while connecting Jira to Bitbucket
Is the nginx configuration that I use missing something?
Has anybody experienced it as well?
Thanks,
Mubin