From 85cd9bde5a93500f973773f46680c07dd90d5912 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Jan 2018 10:45:06 +0100 Subject: Remove unused webserver configuration And update nginx configuration with a rate limit --- support/apache/peertube.conf | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 support/apache/peertube.conf (limited to 'support/apache') 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 @@ - - ServerName peertube.example.org - - CustomLog /var/log/apache2/peertube/peertube-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 - - - - -- cgit v1.2.3