Hi there,
we have switched Confluence from http to https. I have removed old application links, but I'm not able to create new ones. And yes, server base url is https to 
The request contains wrong protocol in link href attrubute
<applicationLink>
<link rel="self" href="http://example.com"/>
<id>5a328214-45e5-31ea-98f1-b8de1d5a730c</id>
<typeId>jira</typeId>
<name>xxx</name>
<displayUrl>https://jira.example.com</displayUrl>
<iconUrl>
https://example.com/16jira.png
</iconUrl>
<iconUri>
https://example.com128jira.png
</iconUri>
<rpcUrl>https://jira.example.com</rpcUrl>
<isPrimary>true</isPrimary>
<isSystem>false</isSystem>
</applicationLink>
The browser throws error
XMLHttpRequest cannot load http://example.com/rest/applinks/3.0/applicationlink/5a328214-45e5-31ea-98f1-b8de1d5a730c?_=1455816144194. Response for preflight is invalid (redirect)
This error is thrown only if I enable cross protocol request, if not, it ends up with error that it's not possible to do request to http from https.
Confluence in browser runs on https, all resources are loaded via https, why only application link thinks it runs on http? How do I convince Confluence to understand that it should use https?
Thank you.