Backend Nginx Configuration Issue with Port/Protocol Loss in Redirects
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- docker-compose, nginx
- 領域
- devops, infrastructure
調査の方向性
.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf を開き、説明されている HTTPS の非標準ポート構成におけるバックエンド Nginx 設定を確認してください。構成が完成した時点で、リダイレクトが元のプロトコルとポートを保持することを確認してください。
索引モデルが issue の本文から書いたものです。
説明
The frontend uses Nginx as a reverse proxy with HTTPS enabled, but it utilizes a non-standard web port (e.g., port 8443). After the frontend Nginx reverse proxy, the backend Nginx uses an HTTP connection on port 80. As a result, redirects from the backend lose the original port and protocol.
It is recommended to add absolute_redirect off; to the configuration file at .examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf.
This Nginx location configuration for reverse proxy:
location / {
proxy_pass http://127.0.0.1:80$request_uri;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header Early-Data $ssl_early_data;
# Websocket
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
- 主要言語
- Shell
- スター
- 7.4k
- フォーク
- 1.9k
- 平均マージ
- 3時間 7分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/docker のほかの issue
-
1. To develop bug feature: cron image
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug docs
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
doc: with the compose file in the documentation, next cloud 34 and 35 report a problem with innodb_log_file_size対応中かも @thawn が 4 日前に担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 25/100
-
PECL is deprecatedオープン
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
nextcloud/docker の issue をすべて見る
似ている issue
-
Update migenオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
YosysHQ/oss-cad-suite-build#220 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
docker-library/redmine#430 ·
-
fm-spawn: isolation timeout hides the real treehouse get error and closes the pane that holds itオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
kunchenguid/firstmate#7848 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
docs: state the LF Projects antitrust policy in the repository対応中かも @vinoo999 が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
a2aproject/A2A#2394 ·
メンテナーはふだん 3 日以内に返信