HelloZeroNet / HelloZeroNet/ZeroNet

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

オープン
#1,193 コメント 5 件 リアクション 3 件 担当者 0 名 GitHub で見る
enhancement help wanted
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

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;
}
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。