From 5472f66fd8007e14061011e65993b3236201c305 Mon Sep 17 00:00:00 2001 From: Marius Date: Sat, 20 May 2017 22:36:04 +0200 Subject: [PATCH] Create apache2.conf --- .infra/files/apache2.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .infra/files/apache2.conf diff --git a/.infra/files/apache2.conf b/.infra/files/apache2.conf new file mode 100644 index 0000000..761bf11 --- /dev/null +++ b/.infra/files/apache2.conf @@ -0,0 +1,20 @@ + + ServerAdmin XXXXXXXXXX + ServerName XXXXXXXXXX + ServerAlias XXXXXXXXXX + DocumentRoot XXXXXXXXXX + + # Enable secure communication using HTTPS + SSLEngine on + SSLCertificateFile XXXXXXXXXX + SSLCertificateKeyFile XXXXXXXXXX + SSLCACertificateFile XXXXXXXXXX + + # Tell tusd that the HTTPS protocol is used, in order to + # allow constructing correct upload URLs. + RequestHeader set X-Forwarded-Proto "https" + + # Pass requests to tusd server + ProxyPass /files http://localhost:1080/files + ProxyPassReverse /files http://localhost:1080/files +