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

Concerns about readme and https #19

Open
peterlynch opened this issue Jun 6, 2014 · 2 comments
Open

Concerns about readme and https #19

peterlynch opened this issue Jun 6, 2014 · 2 comments

Comments

@peterlynch
Copy link

https://github.com/hubspotdevops/puppet-nexus/blame/master/README.md#L35

Readme contains this paragraph:

Nexus does not adequately support HTTP and HTTPS simultaneously.  Below forces all connections to HTTPS.  Be sure to login after the app is up and head to Administration -> Server.  Change the base URL to "https" and check "Force Base URL". 

In Nexus 2.8x, you will hopefully find this statement not true. Provided you have a keystore jetty can use and ./conf/jetty-https.xml is configured to use it, then:

  1. Edit nexus.properties, add application-port-ssl=8443
  2. Edit bin/jsw/conf/wrapper.conf, add wrapper.app.parameter.3=./conf/jetty-https.xml

Start Nexus. http on port 8081/ https on port 8443

If you want to always force redirection from http to https, then additionally

  1. Edit bin/jsw/conf/wrapper.conf, add wrapper.app.parameter.4=./conf/jetty-http-redirect-to-https.xml
@tmclaugh tmclaugh self-assigned this Oct 1, 2014
@tmclaugh
Copy link
Contributor

tmclaugh commented Oct 1, 2014

Didn't see this here until now... I'll need to add this setup via Puppet in another release.

@wyardley
Copy link

btw, you may also want to update the pointer to jfryman/puppet-nginx to https://github.com/voxpupuli/puppet-nginx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants