nginx-configs/common/cryptpad-darknet.conf

13 lines
356 B
Plaintext
Raw Normal View History

2022-08-27 06:40:50 +00:00
add_header Onion-Location http://pad.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
location / {
2022-10-26 06:47:22 +00:00
proxy_pass http://localhost/;
2022-08-27 06:40:50 +00:00
proxy_redirect off;
proxy_set_header Host pad.vern.cc;
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;
}