apache.conf-api 932 B

1234567891011121314151617181920212223242526272829
  1. <Macro api.ftp-master.d.o-common>
  2. ServerAdmin debian-admin@lists.debian.org
  3. ServerName api.ftp-master.debian.org
  4. CustomLog /var/log/apache2/api.ftp-master.debian.org-access.log privacy
  5. ErrorLog /var/log/apache2/api.ftp-master.debian.org-error.log
  6. <IfModule mod_userdir.c>
  7. UserDir disabled
  8. </IfModule>
  9. DocumentRoot /srv/ftp-master.debian.org/export
  10. <Directory /srv/ftp-master.debian.org/dak/dakweb>
  11. <Files dakweb.wsgi>
  12. Require all granted
  13. </Files>
  14. </Directory>
  15. WSGIDaemonProcess api.ftp-master.debian.org user=dak-web group=dak-web processes=1 threads=5
  16. WSGIScriptAlias / /srv/ftp-master.debian.org/dak/dakweb/dakweb.wsgi
  17. </Macro>
  18. Use common-debian-service-https-redirect * api.ftp-master.debian.org
  19. <VirtualHost *:443>
  20. Use common-debian-service-ssl api.ftp-master.debian.org
  21. Use common-ssl-HSTS
  22. Use http-pkp-api.ftp-master.debian.org
  23. Use api.ftp-master.d.o-common
  24. </VirtualHost>