ServerName 2px.info ServerAdmin {{ server_admin_email_2px }} DocumentRoot /var/www/empty RewriteEngine on RewriteCond %{SERVER_NAME} =2px.info RewriteRule ^https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] ErrorLog ${APACHE_LOG_DIR}/2px.info.error.log CustomLog ${APACHE_LOG_DIR}/2px.info.access.log combined ServerName 2px.info ServerAdmin {{ server_admin_email_2px }} DocumentRoot {{ dir_2px }} Alias /favicon.png /home/{{ owner_2px }}/staticroot/img/favicon.png Alias /static /home/{{ owner_2px }}/staticroot Require all granted WSGIScriptAlias / {{ dir_2px }}/deux_puissance_x/wsgi.py process-group=2px.info WSGIDaemonProcess 2px.info python-path={{ dir_2px }} WSGIProcessGroup 2px.info Require all granted Alias /media {{ dir_2px }}/media Require all granted ErrorLog ${APACHE_LOG_DIR}/2px.info.error.log CustomLog ${APACHE_LOG_DIR}/2px.info.access.log combined #SSLCertificateFile /etc/letsencrypt/live/2px.info/fullchain.pem #SSLCertificateKeyFile /etc/letsencrypt/live/2px.info/privkey.pem