nginx-configs/common/proxitok.conf

14 lines
461 B
Plaintext
Raw Normal View History

2022-10-29 15:41:56 +00:00
add_header Onion-Location http://tt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern2gwxbtxzhb3rgchv4kbhlqppijhjqg7rmgvp4c5bxihxcm3a.b32.i2p$request_uri;
2022-10-28 01:33:13 +00:00
location / {
proxy_pass http://localhost:5950/;
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;
}
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}