nginx-configs/common/gothub.conf

13 lines
372 B
Plaintext

add_header Onion-Location http://gh.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernohu6dvnvssx5rnyckb2vulvczx2z5lneiz6xa5rw262zru2q.b32.i2p$request_uri;
access_log off;
error_log /var/log/nginx/error.log crit;
location / {
return 301 https://vern.cc/blog/odyssey.html;
}
if ($badagent) {
return 403;
}