compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
{code}



h6. Read more
* https://registry.hub.docker.com/u/sonatype/nexus/
* [Persistent volumes with Docker - Data-only container pattern|http://www.tech-d.net/2013/12/16/persistent-volumes-with-docker-container-as-volume-pattern/]


h4. Apache reverse proxy

{code}
sudo a2enmod headers
{code}

{code}
<VirtualHost *:80>
ServerName someIpHere
Redirect / https://someIpHere/
</VirtualHost>

<VirtualHost *:443>
ServerName someIpHere
RequestHeader set X-Forwarded-Proto "https"

SSLEngine On
SSLCertificateFile /etc/apache2/ssl/some.no.crt
SSLCertificateKeyFile /etc/apache2/ssl/some.no.key


ProxyPass /jenkins http://localhost:8080/jenkins nocanon
ProxyPassReverse /jenkins http://localhost:8080/jenkins
ProxyRequests Off
AllowEncodedSlashes NoDecode
#Doc: https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache

#books.sonatype.com/nexus-book/reference/install-sect-proxy.html
ProxyPass /nexus/ http://localhost:8081/
ProxyPassReverse /nexus/ http://localhost:8081/
ProxyPassReverseCookiePath / /nexus
</VirtualHost>
{code}