nginx-configs/common/hyperpipe-api.conf

13 lines
425 B
Plaintext

add_header Onion-Location http://hd.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern2dwmqcksmq3oe5kynqc6gy4btviaimqhr55kg6zedjckwnoq.b32.i2p$request_uri;
add_header Access-Control-Allow-Origin '*';
location / {
proxy_pass http://10.0.3.57:5173/;
proxy_set_header Host $host;
proxy_hide_header Access-Control-Allow-Origin;
}
if ($badagent) {
return 403;
}