tusd/.infra/files/apache2.conf

21 lines
679 B
ApacheConf
Raw Normal View History

2017-05-20 20:36:04 +00:00
<VirtualHost *:443>
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
</VirtualHost>