Skip to content

Instantly share code, notes, and snippets.

@javamon1174
javamon1174 / nginx_wss_reverse_proxy.conf
Created September 27, 2021 05:41 — forked from merong/nginx_wss_reverse_proxy.conf
nginx 리버스 프록시를 사용하여 ws 를 wss로 전환 처리
# nginx에서 웹소켓 reverse proxy 설정은 아래내용을 참조하세요.
# https://www.joinc.co.kr/w/man/12/nginx/wsproxy
#설정 예제
#아래와 같이 설정한 경우 wss주소는
# ws://호스트도메인:9000/ 으로 채팅서버를 실행하였다면,
# wss://호스트도메인:8080/ 이 됩니다.
# 운용하는 채팅서버 아이피가 다른 경우 proxy_pass에 아이피를 지정하시면 됩니다.
Dependences:
sudo apt-get update
sudo apt-get install build-essential
apt-get install python-dev
sudo pip install -U setuptools
Steps:
download from https://mrjbq7.github.io/ta-lib/install.html
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->