# --- civicrm.oopen.de ServerAdmin admin@oopen.de ServerName civicrm.oopen.de RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] CustomLog /var/log/apache2/ip_requests.log base_requests CustomLog /var/www/civicrm.oopen.de/logs/civicrm.oopen.de-access.log combined ErrorLog /var/www/civicrm.oopen.de/logs/civicrm.oopen.de-error.log ServerAdmin admin@oopen.de ServerName civicrm.oopen.de #ProxyErrorOverride On SetHandler "proxy:unix:/run/php/php-8.4-fpm.www.sock|fcgi://php/" # Define a matching worker. # The part that is matched to the SetHandler is the part that # follows the pipe. If you need to distinguish, "localhost; can # be anything unique. # # Recycle connections to the fastcgi dispatcher (PHP FPM). # # Use persistent connections to reduce the constant overhead of setting # up new connections # ProxySet enablereuse=on # max - the most proxied request per server # # max = pm.max_children / max number of servers # = pm.max_children / (MaxRequestWorkers / ThreadsPerChild) # ProxySet max=16 # Forces the module to flush every chunk of data received from the FCGI backend # as soon as it receives it, without buffering. # ProxySet flushpackets=on # connectiontimeout # # Connect timeout in seconds. The number of seconds Apache httpd waits for the # creation of a connection to the backend to complete. By adding a postfix of ms, # the timeout can be also set in milliseconds. # ProxySet connectiontimeout=5 # timeout # # Socket timeout in seconds. The number of seconds Apache httpd waits for data # sent by / to the backend. # ProxySet timeout=30 DirectoryIndex index.php index.html index.htm DocumentRoot /var/www/civicrm.oopen.de/htdocs Require all granted AllowOverride All SSLEngine on SSLCertificateFile /var/lib/dehydrated/certs/civicrm.oopen.de/fullchain.pem SSLCertificateKeyFile /var/lib/dehydrated/certs/civicrm.oopen.de/privkey.pem CustomLog /var/log/apache2/ip_requests.log base_requests CustomLog /var/www/civicrm.oopen.de/logs/civicrm.oopen.de-access.log combined ErrorLog /var/www/civicrm.oopen.de/logs/civicrm.oopen.de-error.log