20 lines
639 B
Plaintext
20 lines
639 B
Plaintext
<VirtualHost 95.181.226.174:443>
|
|
ServerName git.example2.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>
|