/etc/apache2/sites-enabled
Edit: /etc/apache2/sites-available/coeditor.org.conf (1090B)
ServerName coeditor.org
ServerAlias www.coeditor.org
Redirect permanent / https://coeditor.org/
ServerName coeditor.org
ServerAlias www.coeditor.org
DocumentRoot /var/www/coeditor.org/users/coeditor.org
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex index.php index.html
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/coeditor.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/coeditor.org/privkey.pem
Header set X-Robots-Tag "noindex, nofollow, noarchive, nosnippet"
# Block xmlrpc.php
Require all denied
# Block sensitive files
Require all denied
ErrorLog ${APACHE_LOG_DIR}/coeditor-org_error.log
CustomLog ${APACHE_LOG_DIR}/coeditor-org_access.log combined