17 lines
582 B
Plaintext
17 lines
582 B
Plaintext
add_header Onion-Location http://qr.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
|
add_header X-I2P-Location http://vernnflenvsqccuanaun7yydnmturi4jkyxlyzhn6ultpje66c3q.b32.i2p$request_uri;
|
|
|
|
access_log /var/log/nginx/quetre-access.log;
|
|
|
|
location / {
|
|
proxy_pass http://10.0.3.57:5068/;
|
|
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;
|
|
}
|
|
|
|
if ($http_user_agent = "Mozilla/5.0 (compatible; Farside/0.1.0; +https://farside.link)") {
|
|
return 403;
|
|
}
|