Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Confluence with a Web Proxy

Alec Keeler
Contributor
February 6, 2019

We have a web proxy configured for servers to gain access to the internet for updates etc

This works fine for gaining access to python pip updates, jenkins plugins, docker containers etc.

Just started trialling Confluence and noticed that my Confluence (running in a container) can't see the Atlassian Marketplace

Now it probably needs the web proxy configuring but when I google how to do this it looks like there is no way of doing this from within confluence itself and starts talking about modifying config file

Is this expected ? In Jenkins its part of the normal admin configuration pages, https://wiki.jenkins.io/display/JENKINS/JenkinsBehindProxy

Is there really no way of doing this simple config from within Confluence itself?

Wondering if I missed something ?

Alec

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2019

Confluence is a web-application that runs on an application-server (Tomcat).  It doesn't handle its own infrastructural stuff like network connections, it just asks Tomcat.  Jenkins is a totally different architecture (a much simpler one that doesn't suit Confluence).

So, you don't configure Confluence for proxies, you configure Tomcat for it, via the Java virtual machine.  See https://confluence.atlassian.com/doc/configuring-web-proxy-support-for-confluence-117068.html

Alec Keeler
Contributor
February 7, 2019

OK so accept that Confluence doesn't have anything to do this config file change for you.

Unfortunately the instructions given are also wrong and don't work,

For anyone else trying to get this working when updating catalina.properties, the host values required for proxyHost are not a URL as the example shows, but simply the hostname

so     myserver.mycompany.co.uk    not         http://myserver.mycompany.co.uk

For the instructions

http.proxyHost=yourProxyURL should be http.proxyHost=yourProxyHostname

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events