2 ServerName peertube.example.org
4 CustomLog /var/log/apache2/peertube/peertube-access.log combined
5 ErrorLog /var/log/apache2/peertube/peertube-error.log
12 Header set Access-Control-Allow-Origin "*"
13 Header set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token, range"
14 Header set Access-Control-Allow-Methods "POST, GET, OPTIONS"
16 ProxyPass /tracker/socket "ws://localhost:9000/tracker/socket"
17 ProxyPassReverse /tracker/socket "ws://localhost:9000/tracker/socket"
19 ProxyPass / http://localhost:9000/
20 ProxyPassReverse / http://localhost:9000/