Created
July 13, 2016 16:50
-
-
Save luispabon/d8f878acac630166ec564c8cf9ec1c98 to your computer and use it in GitHub Desktop.
Pirate bay apache reverse proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Basic reverse proxy, no SSL (useful in Kodi) | |
# You need to install modules proxy, proxy_http, ssl | |
<VirtualHost *:80> | |
ServerName your.address | |
ProxyPreserveHost Off | |
ProxyRequests Off | |
ProxyTimeout 60 | |
SSLProxyEngine on | |
SSLProxyVerify none | |
SSLProxyProtocol all | |
ProxyPass / https://thepiratebay.org/ | |
ProxyPassReverse / https://thepiratebay.org/ | |
SetEnv force-proxy-request-1.0 1 | |
SetEnv proxy-nokeepalive 1 | |
SetEnv proxy-initial-not-pooled | |
SetEnv proxy-sendchunks 1 | |
## Logging | |
ServerSignature Off | |
ErrorLog "/var/log/apache2/tpb-proxy_error.log" | |
CustomLog "/var/log/apache2/tpb-proxy_access.log" combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment