16 lines
496 B
Plaintext
16 lines
496 B
Plaintext
add_header Onion-Location http://bw.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
|
add_header X-I2P-Location http://vern3g7d7ykel6suo6fxiqk5ijzof7rz7k5xqcdjhm66vz65ijva.b32.i2p$request_uri;
|
|
|
|
error_log /var/log/nginx/bw.err;
|
|
|
|
location / {
|
|
proxy_pass http://10.0.3.57:10416/;
|
|
proxy_redirect off;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
}
|
|
if ($badagent) {
|
|
return 403;
|
|
}
|