Reverse Proxy et SSL¶
Reverse proxy¶
Exemple de Configuration
<VirtualHost *:443> ServerAdmin quentin@milllerioux.com ServerName scm.regdrasil.net DocumentRoot "/var/www" Redirect / /scm/ ProxyPass /scm/ http://scm-server:8080/scm/ ProxyPassReverse /scm/ http://scm-server:8080/scm/ ProxyPreserveHost On SSLEngine on SSLCertificateFile /etc/apache2/ssl/ca.crt SSLCertificateKeyFile /etc/apache2/ssl/key.key ErrorLog /var/log/apache2/scm-ssl-error.log LogLevel warn CustomLog /var/log/apache2/scm-ssl-access.log combined </VirtualHost>
Configuration de SCM manager¶
Via l'interface, configurer la partie general", notamment :
- Base Url : adresse public
- Force Base Url : Ne PAS cocher