]> git.decadent.org.uk Git - dak.git/commitdiff
Add initial api.ftp-master.d.o apache config
authorMark Hymers <mhy@debian.org>
Fri, 7 Nov 2014 16:05:15 +0000 (16:05 +0000)
committerMark Hymers <mhy@debian.org>
Fri, 7 Nov 2014 16:05:15 +0000 (16:05 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
config/debian/apache.conf-api [new file with mode: 0644]

diff --git a/config/debian/apache.conf-api b/config/debian/apache.conf-api
new file mode 100644 (file)
index 0000000..bff5908
--- /dev/null
@@ -0,0 +1,19 @@
+<Macro api.ftp-master.d.o-common>
+  ServerAdmin debian-admin@lists.debian.org
+  ServerName api.ftp-master.debian.org
+
+  CustomLog /var/log/apache2/api.ftp-master.debian.org-access.log privacy
+  ErrorLog  /var/log/apache2/api.ftp-master.debian.org-error.log
+
+  <IfModule mod_userdir.c>
+    UserDir disabled
+  </IfModule>
+  DocumentRoot /srv/ftp-master.debian.org/export
+</Macro>
+
+Use common-debian-service-https-redirect * api.ftp-master.debian.org
+<VirtualHost *:443>
+  Use common-debian-service-ssl api.ftp-master.debian.org
+  Use common-ssl-HSTS
+  Use api.ftp-master.d.o-common
+</VirtualHost>