nginx-configs/common/federationtester.conf

16 lines
507 B
Plaintext
Raw Permalink Normal View History

2022-11-16 12:10:45 +00:00
add_header Onion-Location http://ft.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern54jxta6pdm4zduragtjln4lybvrkuymmdslxlnec3sxur36a.b32.i2p$request_uri;
2022-12-02 13:53:21 +00:00
location / {
proxy_pass https://ft.vern.cc/;
2022-11-16 12:10:45 +00:00
proxy_redirect off;
2023-11-30 20:27:10 +00:00
proxy_set_header Host ft.vern.cc;
2022-11-16 12:10:45 +00:00
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
2022-12-02 13:53:21 +00:00
2022-11-16 12:10:45 +00:00
root /home/fed-tester/fed-tester-ui/build;
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}