LoginSignup
3

More than 5 years have passed since last update.

nginxで443へのアクセスを443にスルーパス

Last updated at Posted at 2012-03-02

VPSを使っているとかでproxyサーバー - appサーバー間の通信も必要に応じてセキュアにしておきたいときには、以下のような感じで。

upstream app-ssl {
  server app01:443;
  server app02:443;
  ...
}

server {
  listen 443;
  ...
  location / {
    proxy_pass https://app-ssl;
    ...
  }
}

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3