Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Proxy Configuration for working inside a company network behind a proxy #15

Merged
merged 1 commit into from
May 2, 2012

Conversation

mragab
Copy link
Contributor

@mragab mragab commented May 2, 2012

This is to make it easier to run inside a company network behind a proxy

Added a script (java-proxy-config.sh) to facilitate setting the proxy host and port and no proxy hosts, and then it concatenates all the java system properties for setting the java proxy configurations and puts the resulting string in an environment variable JAVA_PROXY_CONFIG

Modified the scirpts gitblit, gitblit-ubuntu, and gitblit-centos to source the java-proxy-config.sh script and then include the resulting java proxy configuration in the java command

And also added "-Djava.awt.headless=true" to gitblit, gitblit-ubuntu, and gitblit-centos

…roxy hosts, and then it concatenates all the java system properties for setting the java proxy configurations and puts the resulting string in an environment variable JAVA_PROXY_CONFIG, modified the scirpts gitblit, gitblit-ubuntu, and gitblit-centos to source the java-proxy-config.sh script and then include the resulting java proxy configuration in the java command
@gitblit
Copy link
Collaborator

gitblit commented May 2, 2012

Thanks for the contribution! The headless bit should not be necessary with 0.9.3 as GO sets that internally on startup. But it doesn't hurt either.

gitblit added a commit that referenced this pull request May 2, 2012
Java Proxy Configuration for working inside a company network behind a proxy
@gitblit gitblit merged commit e0ae994 into gitblit-org:master May 2, 2012
gitblit added a commit that referenced this pull request May 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants