New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【WIP】Nginx for revieee bugfix #74

Closed
wants to merge 19 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@selmertsx
Contributor

selmertsx commented Jul 12, 2017

やりたいこと

  • nginxで http のサブドメインを見て、適切なcontainerにリクエストを捌く機能の実装。
  • 上記機能をinfratasterでテストできる環境の構築。

困っていること

infratasterでリダイレクトはサポートしている。
リダイレクトのテストは、リダイレクト先が無い場合動いてくれるのか?
動いてくれないのであれば、リダイレクト先を用意しておかなければならない。

revieee_nginx_container | 127.0.0.1 - - [19/Jul/2017:05:34:18 +0000] "GET / HTTP/1.0" 400 250 "-" "curl/7.43.0"
revieee_nginx_container | 127.0.0.1 - - [19/Jul/2017:05:34:18 +0000] "GET / HTTP/1.0" 400 250 "-" "curl/7.43.0"
revieee_nginx_container | 127.0.0.1 - - [19/Jul/2017:05:34:18 +0000] "GET / HTTP/1.0" 400 250 "-" "curl/7.43.0"
revieee_nginx_container | 172.21.0.3 - - [19/Jul/2017:05:34:18 +0000] "GET / HTTP/1.1" 400 250 "-" "curl/7.43.0"
nginx-proxy      | nginx.1    | endpoint-1.reviewapps.speee.jp 172.21.0.1 - - [19/Jul/2017:05:34:18 +0000] "GET / HTTP/1.1" 400 250 "-" "curl/7.43.0"

追記

http://techlife.cookpad.com/entry/2014/11/19/151557
↑の記事を読んで、大体解決しました 🙏

リダイレクト先を用意しないといけないらしく、リダイレクト先である
MockServerを、用意していく方向性で実装を進めようと思います!

selmertsx added some commits Jun 26, 2017

@selmertsx selmertsx changed the title from Nginx for revieee bugfix to 【WIP】Nginx for revieee bugfix Jul 21, 2017

@selmertsx selmertsx closed this Mar 16, 2018

@selmertsx selmertsx deleted the nginx_for_revieee_bugfix branch Mar 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment