ServerName pharext.org ServerAlias www.pharext.org ServerAdmin webmaster@pharext.org DocumentRoot /var/www/pharext/public Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted SetEnv APP_ENVIRONMENT production RemoveHandler .phar SetHandler default-handler ForceType application/phar SetHandler "proxy:unix:/run/php/php-pharext.sock|fcgi://localhost" Use pharext_host_defs Redirect permanent / https://pharext.org/ Use pharext_host_defs Include "bits/hsts" SSLEngine on SSLUseStapling on SSLCertificateKeyFile /etc/letsencrypt/live/pharext.org/privkey.pem SSLCertificateFile /etc/letsencrypt/live/pharext.org/fullchain.pem # vim: syntax=apache ts=4 sw=4 sts=4 sr noet