Created
December 27, 2014 08:51
-
-
Save hirthwork/f07b4a4d2a3245500b53 to your computer and use it in GitHub Desktop.
i2p rss crutches
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
server { | |
listen 127.0.0.1:81; | |
root /var/www/localhost/htdocs; | |
rewrite ^(.*)$ /i2p-proxy.php break; | |
location / { | |
proxy_read_timeout 5m; | |
fastcgi_param HTTP_HOST zzz.i2p; | |
fastcgi_param HTTP_REQUEST /topics.rss; | |
include fastcgi.conf; | |
fastcgi_index i2p-proxy.php; | |
fastcgi_pass 127.0.0.1:9000; | |
} | |
} | |
server { | |
listen 127.0.0.1:82; | |
root /var/www/localhost/htdocs; | |
rewrite ^(.*)$ /i2p-proxy.php break; | |
location / { | |
proxy_read_timeout 5m; | |
fastcgi_param HTTP_HOST planet.i2p; | |
fastcgi_param HTTP_REQUEST /rss20.xml; | |
include fastcgi.conf; | |
fastcgi_index i2p-proxy.php; | |
fastcgi_pass 127.0.0.1:9000; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment