Created
May 7, 2012 08:05
-
-
Save atsuya/2626592 to your computer and use it in GitHub Desktop.
socket.io wikiの訳
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Meant to be used when running socket.io behind a proxy. Should be set to true when you want the location | |
> handshake to match the protocol of the origin. This fixes issues with terminating the SSL in front of Node | |
> and forcing location to think it's wss instead of ws. | |
socket.ioをproxyの後ろでは知らせる場合に使われる事を想定しています。location handshakeにおいて、originのプロトコルを一致させたい場合はtrueを設定して下さい。これは、nodeの手前でSSLが終了する事に関する問題を修正し、locationがwsではなくwssだと思うように強制します。 | |
だと思いますが、最後の一行がはっきりしません。issuesが"with terminating the SSL in front of Node and forcing location to think it's wss instead of ws"なのか、issueは"with terminating the SSL in front of Node"でそれを"forcing location to think it's wss instead of ws"する事で直すのかが、はっきりしません。文章の内容から察するには、後者の方だと思うのですが…。 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment