diff --git a/roles/webserver/files/etc/apache2/sites-available/ftp.thunix.cf.conf b/roles/webserver/files/etc/apache2/sites-available/ftp.thunix.cf.conf new file mode 100644 index 0000000..5251955 --- /dev/null +++ b/roles/webserver/files/etc/apache2/sites-available/ftp.thunix.cf.conf @@ -0,0 +1,28 @@ + + ServerAdmin amcclure@ttm.sh + ServerName ftp.thunix.cf + DocumentRoot /var/www/ftp.thunix.cf + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + Order deny,allow + Deny from all + + + + + + ServerAdmin amcclure@ttm.sh + ServerName ftp.thunix.cf + DocumentRoot /var/www/ftp.thunix.cf + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + Order deny,allow + Deny from all + + SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem + Include /etc/letsencrypt/options-ssl-apache.conf + + \ No newline at end of file diff --git a/roles/webserver/tasks/apache.yml b/roles/webserver/tasks/apache.yml index 78607f3..f9d38dd 100644 --- a/roles/webserver/tasks/apache.yml +++ b/roles/webserver/tasks/apache.yml @@ -92,6 +92,11 @@ src: ../files/etc/apache2/sites-available/you.wer.ee.conf dest: /etc/apache2/sites-available/you.wer.ee.conf +- name: Deploy Apache2 Site Config ftp.thunix.cf.conf + copy: + src: ../files/etc/apache2/sites-available/ftp.thunix.cf.conf + dest: /etc/apache2/sites-available/ftp.thunix.cf.conf + ##Mods #- name: Deploy Apache2 Module Config php7.0.conf