You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
826 B
28 lines
826 B
<VirtualHost *:3001>
|
|
ServerName git.swarmlab.io
|
|
SSLEngine On
|
|
|
|
SSLCertificateFile /opt/ssl/yourcertificate.crt
|
|
SSLCertificateKeyFile /opt/ssl/yourcertificate.key
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
SSLProxyEngine on
|
|
|
|
<Location />
|
|
ProxyPass / http://localhost:3000/ nocanon
|
|
ProxyPassReverse / http://localhost:3000/
|
|
</Location>
|
|
<Directory /var/www/html/>
|
|
ProxyPreserveHost On
|
|
ProxyRequests off
|
|
AllowEncodedSlashes NoDecode
|
|
ProxyPass / https://localhost:3000/ nocanon
|
|
ProxyPassReverse / https://localhost:3000/
|
|
Options Indexes FollowSymLinks MultiViews
|
|
#AddHandler markdown .md
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
</VirtualHost>
|
|
|