Has anyone successfully configured an outbound proxy server for Bitbucket Server 5.5.0 on Windows while running as a service?
Previously it was possible to set the system properties via tomcat startup parameters. Now according to https://confluence.atlassian.com/bitbucketserverkb/how-to-configure-an-outbound-http-and-https-proxy-for-bitbucket-server-779171680.html, those options should be set via an environment variable: JVM_SUPPORT_RECOMMENDED_ARGS.
However when running Bitbucket Server as a service on Windows the atlbitbucket user is created by the installer/service setup and changing the password to a know value still does not allow the atlbitbucket user to log in.
Does anyone know of a solution to properly set the outbound proxy?
Hi Brent,
You shouldn't need to change the password to setup the configuration for an outgoing proxy. Instead, we'll make all of the changes in the service configuration for the JVM.
To modify the service, there should be a Start Menu shortcut for "Configure Bitbucket Server". Opening this will bring up the service configuration and you can move to the Java tab.
In the Java tab, there is a text box for Java Options. Add a new line for each of the outgoing proxy configuration parameters.
-Dhttp.proxyHost=proxy.example.org
-Dhttp.proxyPort=8080
-Dhttps.proxyHost=proxy.example.org
-Dhttps.proxyPort=8080
-Dhttp.nonProxyHosts=localhost
After hitting Apply and restarting the service, these parameters should take affect.
Details on modifying the Windows service at available at How to update the JVM configuration for a Windows service.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.