Adding post-certbot files
This commit is contained in:
parent
9b4f37939e
commit
032ba2edcb
|
@ -1,6 +1,6 @@
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerAdmin webmaster@thunix.net
|
ServerAdmin amcclure@ttm.sh
|
||||||
ServerName dev.thunix.cf
|
ServerName dev.thunix.cf
|
||||||
DocumentRoot /var/www/dev.thunix.cf
|
DocumentRoot /var/www/dev.thunix.cf
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
@ -11,7 +11,27 @@
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
SSLCertificateFile /etc/letsencrypt/live/phoenix.thunix.cf/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/phoenix.thunix.cf/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
|
||||||
|
</VirtualHost>
|
||||||
|
</IfModule>
|
||||||
|
<IfModule mod_ssl.c>
|
||||||
|
<VirtualHost *:80>
|
||||||
|
ServerAdmin amcclure@ttm.sh
|
||||||
|
ServerName dev.thunix.cf
|
||||||
|
DocumentRoot /var/www/dev.thunix.cf
|
||||||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||||
|
<Directorymatch "^/.*/\.git/">
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</Directorymatch>
|
||||||
|
RewriteEngine on
|
||||||
|
# Some rewrite rules in this file were disabled on your HTTPS site,
|
||||||
|
# because they have the potential to create redirection loops.
|
||||||
|
|
||||||
|
# RewriteCond %{SERVER_NAME} =dev.thunix.cf
|
||||||
|
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerAdmin webmaster@thunix.net
|
ServerAdmin amcclure@ttm.sh
|
||||||
ServerName dev.thunix.cf
|
ServerName dev.thunix.cf
|
||||||
DocumentRoot /var/www/dev.thunix.cf
|
DocumentRoot /var/www/dev.thunix.cf
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
<IfModule mod_ssl.c>
|
||||||
|
<VirtualHost *:443>
|
||||||
|
ServerAdmin webmaster@thunix.net
|
||||||
|
ServerName ftp.thunix.net
|
||||||
|
DocumentRoot /var/www/ftp.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/ftp.thunix.cf/fullchain.pem
|
||||||
|
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
|
||||||
|
</VirtualHost>
|
||||||
|
</IfModule>
|
|
@ -1,6 +1,6 @@
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerAdmin webmaster@thunix.net
|
ServerAdmin amcclure@ttm.sh
|
||||||
ServerName phoenix.thunix.cf
|
ServerName phoenix.thunix.cf
|
||||||
DocumentRoot /var/www/thunix.cf
|
DocumentRoot /var/www/thunix.cf
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
SSLCertificateFile /etc/letsencrypt/live/phoenix.thunix.cf/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/phoenix.thunix.cf/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerAdmin webmaster@thunix.net
|
ServerAdmin amcclure@ttm.sh
|
||||||
ServerName phoenix.thunix.cf
|
ServerName phoenix.thunix.cf
|
||||||
DocumentRoot /var/www/thunix.cf
|
DocumentRoot /var/www/thunix.cf
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerAdmin webmaster@thunix.net
|
ServerAdmin amcclure@ttm.sh
|
||||||
ServerName thunix.cf
|
ServerName thunix.cf
|
||||||
DocumentRoot /var/www/thunix.cf
|
DocumentRoot /var/www/thunix.cf
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
SSLCertificateFile /etc/letsencrypt/live/phoenix.thunix.cf/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/phoenix.thunix.cf/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -17,7 +17,7 @@ RewriteEngine on
|
||||||
RewriteRule ^ https://www.%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
RewriteRule ^ https://www.%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||||
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
SSLCertificateFile /etc/letsencrypt/live/thunix.net-0001/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net-0001/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerAdmin webmaster@thunix.net
|
ServerAdmin amcclure@ttm.sh
|
||||||
ServerName www.thunix.cf
|
ServerName www.thunix.cf
|
||||||
DocumentRoot /var/www/thunix.cf
|
DocumentRoot /var/www/thunix.cf
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
SSLCertificateFile /etc/letsencrypt/live/phoenix.thunix.cf/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/phoenix.thunix.cf/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
|
|
||||||
SSLCertificateFile /etc/letsencrypt/live/www.thunix.net/fullchain.pem
|
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/www.thunix.net/privkey.pem
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
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
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue