additional fixes for sites-available
This commit is contained in:
parent
252cd53208
commit
f940d4a287
|
@ -22,5 +22,8 @@
|
|||
Order deny,allow
|
||||
Deny from all
|
||||
</Directorymatch>
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/deb.thunix.net/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/deb.thunix.net/privkey.pem
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
|
|
@ -23,9 +23,8 @@ RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
|||
Order deny,allow
|
||||
Deny from all
|
||||
</Directorymatch>
|
||||
|
||||
SSLCertificateFile /etc/letsencrypt/live/dev.thunix.cf-0001/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/dev.thunix.cf-0001/privkey.pem
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/dev.thunix.cf/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/dev.thunix.cf/privkey.pem
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<VirtualHost *:80>
|
||||
ServerAdmin webmaster@thunix.net
|
||||
ServerName www.thunix.net
|
||||
ServerAlias www.thunixme5v4rnoby.onion
|
||||
ServerName dev.thunix.net
|
||||
ServerAlias dev.thunixme5v4rnoby.onion
|
||||
DocumentRoot /var/www/thunix.cf
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
@ -10,3 +10,20 @@
|
|||
Deny from all
|
||||
</Directorymatch>
|
||||
</VirtualHost>
|
||||
<IfModule mod_ssl.c>
|
||||
<VirtualHost *:443>
|
||||
ServerAdmin webmaster@thunix.net
|
||||
ServerName dev.thunix.net
|
||||
ServerAlias dev.thunixme5v4rnoby.onion
|
||||
DocumentRoot /var/www/thunix.cf
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
<Directorymatch "^/.*/\.git/">
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Directorymatch>
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/dev.thunix.net/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/dev.thunix.net/privkey.pem
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
</Directory>
|
||||
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
|
||||
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.net/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.net/privkey.pem
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
Deny from all
|
||||
</Directorymatch>
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
|
||||
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.net/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.net/privkey.pem
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
|
|
@ -33,8 +33,8 @@ RewriteEngine on
|
|||
RewriteRule ^ https://www.%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
|
||||
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
|
||||
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
|
Loading…
Reference in New Issue