... | ... | @@ -4,7 +4,6 @@ |
|
|
* git
|
|
|
* docker
|
|
|
* docker-compose
|
|
|
* openssl
|
|
|
* make
|
|
|
|
|
|
### Installation
|
... | ... | @@ -31,18 +30,13 @@ These commands should be run inside docker container (`docker-compose exec apach |
|
|
- we use apache and reverseproxy to target multiple applications in various docker containers. See this apache conf. example.
|
|
|
|
|
|
```
|
|
|
<IfModule mod_ssl.c>
|
|
|
<VirtualHost *:443>
|
|
|
|
|
|
<VirtualHost *:80>
|
|
|
ServerName tact.demarre-shs.fr
|
|
|
SSLEngine on
|
|
|
SSLProxyEngine on
|
|
|
ProxyPreserveHost On
|
|
|
ProxyPass / https://localhost:8443/
|
|
|
ProxyPassReverse / https://localhost:8443/
|
|
|
SSLCertificateFile /etc/ssl/certs/star_demarre-shs_fr.crt
|
|
|
SSLCertificateKeyFile /etc/ssl/private/demarre-shs.fr.key
|
|
|
SSLCertificateChainFile /etc/ssl/certs/DigiCertCA.crt
|
|
|
ProxyPass / https://localhost:8082/
|
|
|
ProxyPassReverse / https://localhost:8082/
|
|
|
</VirtualHost>
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
|
``` |