20 lines
637 B
Plaintext
20 lines
637 B
Plaintext
<VirtualHost 10.10.10.10:443>
|
|
ServerName git.megacode3.com
|
|
ServerAlias www.git.example2.com
|
|
SSLEngine on
|
|
SSLProxyEngine on
|
|
ProxyRequests Off
|
|
ProxyPreserveHost On
|
|
ProxyVia full
|
|
<proxy *>
|
|
Order deny,allow
|
|
Allow from all
|
|
</proxy>
|
|
AllowEncodedSlashes NoDecode
|
|
ProxyPass / https://localhost:3000/ nocanon
|
|
ProxyPassReverse / https://localhost:3000
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
SSLCertificateFile /etc/letsencrypt/live/git.example2.com/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/git.example2.com/privkey.pem
|
|
</VirtualHost>
|