nginx-configs/common/torproject.conf

10 lines
322 B
Plaintext

add_header Onion-Location http://torproject.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern63nfeqjund7ookfwabndqht66qpzruduywqfr5q3d7od2tvq.b32.i2p$request_uri;
root /var/mirror/torproject.org;
location / {
autoindex on;
}
if ($badagent) {
return 403;
}