2022-10-15 17:50:10 +00:00
|
|
|
add_header Onion-Location http://hd.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
2022-10-21 20:40:01 +00:00
|
|
|
add_header X-I2P-Location http://vernfy3k7royqfe7pg6wgzj53ipltd5nb4acjtjmwgpqrkxwmcla.b32.i2p$request_uri;
|
|
|
|
|
2022-10-25 08:30:16 +00:00
|
|
|
subs_filter "hd.vern.cc" "$host";
|
|
|
|
|
2022-10-15 17:50:10 +00:00
|
|
|
location / {
|
2023-01-02 03:27:18 +00:00
|
|
|
proxy_pass http://127.0.0.1:3001;
|
2022-10-15 17:50:10 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /socket.io/ {
|
2023-01-02 03:27:18 +00:00
|
|
|
proxy_pass http://127.0.0.1:3001;
|
2022-10-15 17:50:10 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection $connection_upgrade;
|
|
|
|
}
|
2023-11-20 07:03:34 +00:00
|
|
|
if ($badagent) {
|
|
|
|
return 403;
|
|
|
|
}
|