nginx-configs/common/piped.conf

16 lines
440 B
Plaintext
Raw Normal View History

2022-12-09 10:26:25 +00:00
add_header Onion-Location http://pd.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern2dwmqcksmq3oe5kynqc6gy4btviaimqhr55kg6zedjckwnoq.b32.i2p$request_uri;
2022-08-06 03:45:00 +00:00
location / {
2022-12-09 10:26:25 +00:00
proxy_pass http://localhost:8058/;
2022-08-06 03:45:00 +00:00
proxy_set_header Host $host;
}
2023-07-18 22:46:34 +00:00
if ($http_user_agent = "FeedFetcher-Google; (+http://www.google.com/feedfetcher.html)") {
return 403;
}
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}