2022-11-04 20:09:06 +03:00
|
|
|
<VirtualHost 95.181.226.174:443>
|
2022-11-12 21:03:16 +03:00
|
|
|
ServerName git.example2.com
|
|
|
|
ServerAlias www.git.example2.com
|
2022-11-04 20:09:06 +03:00
|
|
|
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
|
2022-11-12 21:03:16 +03:00
|
|
|
SSLCertificateFile /etc/letsencrypt/live/git.example2.com/fullchain.pem
|
|
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/git.example2.com/privkey.pem
|
2022-11-04 20:09:06 +03:00
|
|
|
</VirtualHost>
|