HelloZeroNet / HelloZeroNet/ZeroNet

Subpage reverse proxy (nginx reverse proxy ver_1.10.3) Debian_9x_64bit new zeronet

Đang mở
#1,193 5 bình luận 3 reaction 0 người được giao Xem trên GitHub
enhancement help wanted
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I want to use sub-page reverse proxy zeronet somewhere. What should I do?

For example: Client Request https://www.a.com/zeronet/
The actual visit is on the server zeronet (127.0.0.1:43110/zLSmz1ekvt1MpCPMKeJPjgmk96fUYVr8WJ fictitious address)

nginx configuration:
This will jump to the home page ( https://www.a.com/1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D )
```
location /uid/ {
proxy_pass http://127.0.0.1:43110/zLSmz1ekvt1MpCPMKeJPjgmk96fUYVr8WJ/; #fictitiou address
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_read_timeout 1h;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with the nginx configuration and the ZeroNet subpage address shown in the issue, then reproduce the request under /uid/ versus the direct ZeroNet path. Determine whether subpath reverse proxying is supported and document a verified configuration or the limitation; the issue is done when the behavior and required setup are clear.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
nginx
Lĩnh vực
networking
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.