Use common-debian-service-https-redirect * sources.debian.org WSGIDaemonProcess sources.debian.org user=nobody group=debsources home=/ processes=2 threads=5 maximum-requests=5000 inactivity-timeout=1800 umask=0077 display-name=wsgi-debsources.debian.org ServerName sources.debian.org ServerAdmin debian-admin@lists.debian.org Use common-debian-service-ssl sources.debian.org Use common-ssl-HSTS Use http-pkp-sources.debian.org Protocols h2 http/1.1 UserDir disabled ErrorLog /var/log/apache2/sources.debian.org-error.log CustomLog /var/log/apache2/sources.debian.org-access.log privacy ServerSignature On Options Indexes AllowOverride None DirectoryIndex disabled IndexOptions +ShowForbidden -FancyIndexing -HTMLTable +SuppressHTMLPreamble +XHTML # Note: mods-enabled/autoindex.conf has IndexIgnore set to # ignore all hidden files by default. For +ShowForbidden to be # practically useful, that entry should be commented out (or # reset'd with IndexOptionsReset, but only starting from Apache # 2.3). Require all granted # override default (Debian) setting in /etc/apache2/apache2.conf # we want to list .htaccess and friends if they are part of packages. Require all granted SetHandler None # ForceType text/plain Options FollowSymLinks Require all granted Alias /data/ /srv/sources.debian.org/sources/ Alias /static/ /srv/sources.debian.org/static/ Require all granted WSGIScriptAlias / /srv/sources.debian.org/etc/debsources.wsgi WSGIProcessGroup sources.debian.org # vim: syntax=apache ts=4 sw=4 sts=4 sr et