]>
Commit | Line | Data |
---|---|---|
2ace56f8 | 1 | <VirtualHost *:80> |
2 | ServerName peertube.example.org | |
3 | ||
a556b076 | 4 | CustomLog /var/log/apache2/peertube/peertube-access.log combined |
9da2ec0d | 5 | ErrorLog /var/log/apache2/peertube/peertube-error.log |
2ace56f8 | 6 | |
7 | ProxyRequests Off | |
8 | ProxyPreserveHost On | |
9 | ||
9da2ec0d | 10 | Timeout 900 |
2ace56f8 | 11 | |
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" | |
15 | ||
16 | ProxyPass /tracker/socket "ws://localhost:9000/tracker/socket" | |
17 | ProxyPassReverse /tracker/socket "ws://localhost:9000/tracker/socket" | |
18 | ||
19 | ProxyPass / http://localhost:9000/ | |
20 | ProxyPassReverse / http://localhost:9000/ | |
21 | ||
22 | ProxyTimeout 1200 | |
23 | ||
24 | </VirtualHost> | |
25 | ||
26 |