Last active
June 11, 2022 14:48
-
-
Save Lucassifoni/d820e6691a29d387c6c083bd24c7fb57 to your computer and use it in GitHub Desktop.
Phoenix websocket behind nginx with ssl
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
| location /wsapp/ { | |
| proxy_pass http://wsbackend; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection "Upgrade"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment