38 lines
814 B
Plaintext
Executable File
38 lines
814 B
Plaintext
Executable File
|
|
<VirtualHost *:80>
|
|
ServerName repository.eendoe.nl
|
|
ProxyRequests off
|
|
ProxyPreserveHost on
|
|
|
|
|
|
RewriteEngine on
|
|
RewriteCond %{SERVER_NAME} =repository.bnhmeijer.nl
|
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
|
|
<VirtualHost *:443>
|
|
Protocols h2 h2c http/1.1
|
|
ServerName repository.eendoe.nl
|
|
|
|
|
|
|
|
DocumentRoot /sites/repository/binaries
|
|
|
|
<Directory /sites/repository/binaries>
|
|
AllowOverride All
|
|
Options FollowSymLinks
|
|
Order deny,allow
|
|
allow from all
|
|
Require all granted
|
|
</Directory>
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
SSLCertificateFile /etc/letsencrypt/live/bm4.nl-0002/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/bm4.nl-0002/privkey.pem
|
|
</VirtualHost>
|
|
|
|
|
|
|