#WSGISocketPrefix run/wsgi ##WSGIRestrictStdout On #WSGIRestrictSignal Off #WSGIPythonOptimize 1 #WSGIPassAuthorization On #WSGIDaemonProcess pagure user=git group=git maximum-requests=1000 display-name=pagure processes=4 threads=4 inactivity-timeout=300 ## It is important that the doc server runs in a different apache process #WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-name=pagure processes=4 threads=4 inactivity-timeout=300 # #ServerName localhost.localdomain #Redirect permanent / https://localhost.localdomain/ # # #ServerName docs.localhost.localdomain #Redirect permanent / https://docs.localhost.localdomain/ # # #ServerName docs.localhost.localdomain #WSGIScriptAlias / /usr/share/pagure/doc_pagure.wsgi #SSLEngine on #SSLProtocol all -SSLv2 -SSLv3 ## Use secure TLSv1.1 and TLSv1.2 ciphers #Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" #SSLCertificateFile /etc/pki/tls/....crt #SSLCertificateChainFile /etc/pki/tls/....intermediate.crt #SSLCertificateKeyFile /etc/pki/tls/....key # #WSGIProcessGroup paguredocs # ## Apache 2.4 #Require all granted # # ## Apache 2.2 #Order deny,allow #Allow from all # # # # #ServerName localhost.localdomain #WSGIScriptAlias / /usr/share/pagure/pagure.wsgi #SSLEngine on #SSLProtocol all -SSLv2 -SSLv3 ## Use secure TLSv1.1 and TLSv1.2 ciphers #Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" #SSLCertificateFile /etc/pki/tls/....crt #SSLCertificateChainFile /etc/pki/tls/....intermediate.crt #SSLCertificateKeyFile /etc/pki/tls/....key #Alias /releases /var/www/releases ## Section used to support cloning git repo over http (https in this case) #SetEnv GIT_PROJECT_ROOT /path/to/git/repositories # #WSGIProcessGroup pagure # ## Apache 2.4 #Require all granted # # ## Apache 2.2 #Order deny,allow #Allow from all # # ## Folder where are stored the tarball of the releases # #WSGIProcessGroup pagure # ## Apache 2.4 #Require all granted # # ## Apache 2.2 #Order deny,allow #Allow from all # # # #Options +Indexes # #