[ https://issues.apache.org/jira/browse/MRM-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615958#comment-17615958 ]
Frankie commented on MRM-2053: ------------------------------ Will close. The issue had to do with the fact that the `ui` section of Archiva was not properly configured on my side. Had to add my scheme and domain to these 3 entries in `archiva.xml`: {code:java} <rest> <csrFilter> <enabled>true</enabled> <disableTokenValidation>false</disableTokenValidation> <absentorOrigin> <deny>true</deny> </absentorOrigin> </csrFilter> <baseUrl>https://your-domain:port</baseUrl> </rest> <application> <url>https://your-domain:port</url> </application> <ui> <applicationUrl>https://your-domain:port</applicationUrl> </ui> {code} Also updated post in case it helps someone. [https://wasteofserver.com/apache-archiva-behind-haproxy-with-ssl-termination/] Closed. > Artifact download button always points to http > ---------------------------------------------- > > Key: MRM-2053 > URL: https://issues.apache.org/jira/browse/MRM-2053 > Project: Archiva > Issue Type: Bug > Reporter: Frankie > Priority: Trivial > > While browsing repositories via the GUI, if you're navigating via a reverse > proxy, the download button will keep pointing to `http`. > I've setup baseUrl as supposed. > {code:java} > <rest> > <baseUrl>https://your-domain:port/</baseUrl> > </rest> {code} > Everything works as expected. Maven, works fine but while using the GUI the > download button always point to `http` version. > The error is probably in this file: > [https://github.com/apache/archiva/blob/27640503d662af3c7a583730d2a85b04fe18222f/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/search.html] > `<a href="${row.url}">` > Thanks, > Frankie -- This message was sent by Atlassian Jira (v8.20.10#820010)