nginx-configs/common/whoogle.conf

14 lines
497 B
Plaintext
Raw Normal View History

2022-10-21 20:40:01 +00:00
add_header Onion-Location http://wg.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://verneks7rfjptpz5fpii7n7nrxilsidi2qxepeuuf66c3tsf4nhq.b32.i2p$request_uri;
location / {
2023-11-20 07:03:34 +00:00
proxy_pass http://127.0.0.1:5015/;
2022-10-21 20:40:01 +00:00
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host; # so Whoogle knows domain
proxy_http_version 1.1; # to keep alive
proxy_set_header Connection ""; # to keep alive
}
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}