1 <Macro pharext_host_defs>
3 ServerAlias www.pharext.org
4 ServerAdmin webmaster@pharext.org
6 DocumentRoot /var/www/pharext/public
8 <Directory /var/www/pharext/public>
9 Options Indexes FollowSymLinks MultiViews
12 SetEnv APP_ENVIRONMENT production
15 SetHandler default-handler
16 ForceType application/phar
18 <FilesMatch ".+\.ph(p|tml)$">
19 SetHandler "proxy:unix:/run/php/php-pharext.sock|fcgi://localhost"
26 Redirect permanent / https://pharext.org/
35 SSLCertificateKeyFile /etc/letsencrypt/live/pharext.org/privkey.pem
36 SSLCertificateFile /etc/letsencrypt/live/pharext.org/fullchain.pem
39 # vim: syntax=apache ts=4 sw=4 sts=4 sr noet