Skip to content

Instantly share code, notes, and snippets.

@joaquinicolas
joaquinicolas / nginx-websocket-proxy.conf
Created January 12, 2018 03:21 — forked from uorat/nginx-websocket-proxy.conf
Nginx Reverse Proxy for WebSocket
upstream websocket {
server localhost:3000;
}
server {
listen 80;
server_name localhost;
access_log /var/log/nginx/websocket.access.log main;