apache.conf-ftp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Use common-debian-service-https-redirect * ftp-master.debian.org
  2. <VirtualHost *:443>
  3. ServerName ftp-master.debian.org
  4. DocumentRoot /srv/ftp.debian.org/web
  5. CustomLog /var/log/apache2/ftp-master-access.log privacy
  6. ErrorLog /var/log/apache2/ftp-master-error.log
  7. Use common-debian-service-ssl ftp-master.debian.org
  8. Use common-ssl-HSTS
  9. Use http-pkp-ftp-master.debian.org
  10. Redirect permanent /proposed-updates.html https://release.debian.org/proposed-updates/stable.html
  11. Redirect permanent /oldstable-proposed-updates.html https://release.debian.org/proposed-updates/oldstable.html
  12. Redirect permanent /testing/hints/transitions.yaml https://ftp-master.debian.org/transitions.yaml
  13. Redirect permanent /git/archvsync.git https://salsa.debian.org/mirror-team/archvsync
  14. Redirect permanent /git/dak.git https://salsa.debian.org/ftp-team/dak.git
  15. Redirect permanent /git/dakbot.git https://salsa.debian.org/ftp-team/dakbot.git
  16. Redirect permanent /git/presentations.git https://salsa.debian.org/ftp-team/presentations.git
  17. Redirect permanent /git/website.git https://salsa.debian.org/ftp-team/website.git
  18. Redirect permanent /epydoc https://ftp-team.pages.debian.net/dak/epydoc
  19. Alias /users/ /srv/ftp.debian.org/web-users/
  20. Alias /static/lintian.tags /srv/ftp-master.debian.org/dak/config/debian/lintian.tags
  21. <Directory /srv/ftp.debian.org/web-users>
  22. Require all granted
  23. AllowOverride FileInfo AuthConfig Limit Indexes
  24. Options MultiViews Indexes SymLinksIfOwnerMatch
  25. </Directory>
  26. <Directory /srv/ftp.debian.org/web>
  27. Require all granted
  28. AddCharset utf-8 .txt
  29. Options MultiViews Indexes SymLinksIfOwnerMatch
  30. </Directory>
  31. <Directory /srv/ftp-master.debian.org/dak/config/debian>
  32. <Files lintian.tags>
  33. Require all granted
  34. </Files>
  35. </Directory>
  36. RewriteEngine On
  37. RewriteRule ^/~(.+) /users/$1 [R=permanent,L]
  38. RewriteRule ^/testing/(.*) https://release.debian.org/britney/$1 [R=permanent,L]
  39. </VirtualHost>