1
0
Fork 0

Merge pull request #15 from dadall/master

Add apache configuration
This commit is contained in:
Bigard Florian 2016-10-26 20:16:18 +02:00 committed by GitHub
commit 84c4be6b78

View file

@ -0,0 +1,26 @@
<VirtualHost *:80>
ServerName peertube.example.org
CustomLog /var/log/apache2/peertube/perrtube-access.log combined
ErrorLog /var/log/apache2/peertube/peertube-error.log
ProxyRequests Off
ProxyPreserveHost On
Timeout 900
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token, range"
Header set Access-Control-Allow-Methods "POST, GET, OPTIONS"
ProxyPass /tracker/socket "ws://localhost:9000/tracker/socket"
ProxyPassReverse /tracker/socket "ws://localhost:9000/tracker/socket"
ProxyPass / http://localhost:9000/
ProxyPassReverse / http://localhost:9000/
ProxyTimeout 1200
</VirtualHost>