diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-11 10:45:06 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-11 10:46:49 +0100 |
commit | 85cd9bde5a93500f973773f46680c07dd90d5912 (patch) | |
tree | ad8a59e03a51259b654ded57ff3dea6d4c302d73 /support/apache/peertube.conf | |
parent | 60650c77c8a2a98e92d869b237ae4900f369a8fc (diff) | |
download | PeerTube-85cd9bde5a93500f973773f46680c07dd90d5912.tar.gz PeerTube-85cd9bde5a93500f973773f46680c07dd90d5912.tar.zst PeerTube-85cd9bde5a93500f973773f46680c07dd90d5912.zip |
Remove unused webserver configuration
And update nginx configuration with a rate limit
Diffstat (limited to 'support/apache/peertube.conf')
-rw-r--r-- | support/apache/peertube.conf | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/support/apache/peertube.conf b/support/apache/peertube.conf deleted file mode 100644 index 97d5e2fa7..000000000 --- a/support/apache/peertube.conf +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | <VirtualHost *:80> | ||
2 | ServerName peertube.example.org | ||
3 | |||
4 | CustomLog /var/log/apache2/peertube/peertube-access.log combined | ||
5 | ErrorLog /var/log/apache2/peertube/peertube-error.log | ||
6 | |||
7 | ProxyRequests Off | ||
8 | ProxyPreserveHost On | ||
9 | |||
10 | Timeout 900 | ||
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 | |||