ServerName replicator.pharext.org ServerAdmin webmaster@pharext.org DocumentRoot /var/www/replicator/public SetEnv owners m6w6,pharext,mdref Options Indexes FollowSymLinks MultiViews AllowOverride None Require all granted RemoveHandler .phar SetHandler default-handler ForceType application/phar SetHandler "proxy:unix:/run/php/php-replicator.sock|fcgi://localhost" Use replicator_host_defs Redirect permanent / https://replicator.pharext.org/ Use replicator_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