nginx-configs/common/vnu.conf

12 lines
355 B
Plaintext

add_header Onion-Location http://vnu.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern7ilzglebf3zam23vf5fnv76jgjp4pj6ouyzunorsxhqrjtja.b32.i2p$request_uri;
location / {
proxy_pass http://localhost:9534/;
proxy_redirect off;
proxy_set_header Host $host;
}
if ($badagent) {
return 403;
}