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

Changes (2)

View Page History

h6. Read more
* [Persistent volumes with Docker - Data-only container pattern|]

h4. Apache reverse proxy

sudo a2enmod headers

<VirtualHost *:80>
ServerName someIpHere
Redirect / https://someIpHere/

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

SSLEngine On
SSLCertificateFile /etc/apache2/ssl/
SSLCertificateKeyFile /etc/apache2/ssl/

ProxyPass /jenkins http://localhost:8080/jenkins nocanon
ProxyPassReverse /jenkins http://localhost:8080/jenkins
ProxyRequests Off
AllowEncodedSlashes NoDecode
ProxyPass /nexus/ http://localhost:8081/
ProxyPassReverse /nexus/ http://localhost:8081/
ProxyPassReverseCookiePath / /nexus