2022-12-06 17:33:12 +03:00
|
|
|
<VirtualHost 10.10.10.10:443>
|
2022-12-09 03:27:00 +03:00
|
|
|
ServerName git.megacode3.com
|
2022-12-05 02:07:41 +03:00
|
|
|
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>
|