nginx-configs/common/speedtest.conf

15 lines
521 B
Plaintext
Raw Normal View History

2022-07-25 10:55:46 +00:00
add_header Onion-Location http://ls.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
2022-10-26 06:47:04 +00:00
add_header X-I2P-Location http://verncfvtpzdyrq4iy72nsv5tq3tmoxblywsxg25v2eydyao4gkfq.b32.i2p$request_uri;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
2023-11-30 20:27:10 +00:00
proxy_set_header Host "ls.vern.cc";
2022-12-02 13:53:21 +00:00
proxy_pass https://ls.vern.cc/;
2022-10-26 06:47:04 +00:00
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}