• Stars
    star
    345
  • Rank 122,750 (Top 3 %)
  • Language
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

nginx WebSocket Proxy

nginx WebSocket Proxy

As of version 1.4, nginx is capable of forwarding WebSocket requests, so it can be used as a reverse proxy for HTTP, HTTPS, WS and WSS.

Here are some simple example configuration snippets for WebSocket forwarding in nginx.

Requirements

  • nginx 1.4.x or higher
  • WebSocket and HTTP server running on ws|http://localhost:8080

This is a typical scenario given by Engine.IO, Socket.IO, Primus, etc. which provide a WebSocket server with HTTP fallback.

Example Configs

See Also

Author

Nico Kaiser

License

MIT License

More Repositories

1

rpi-audio-receiver

Raspberry Pi Audio Receiver with Bluetooth A2DP, AirPlay 2, and Spotify Connect
Shell
1,392
star
2

hugo-theme-gallery

Gallery Theme for Hugo
JavaScript
349
star
3

Dyndns

A simple DynDNS server in PHP
PHP
100
star
4

node-monit

Node.js services with sysvinit and Monit
Shell
95
star
5

passport-apple

Sign in with Apple strategy for Passport
JavaScript
85
star
6

wamp.io

An implementation of the Autobahn WebSockets RPC/PubSub: WebSocket Application Messaging Protocol (WAMP) for WebSocket.IO or Engine.IO
JavaScript
80
star
7

node-init

A battle-tested solution for respawning node services on SysVinit-based (init.d) systems like Debian.
Shell
15
star
8

docker-koken

Docker container for Koken with Apache and PHP 7
PHP
13
star
9

bandoneon

A little JavaScript application that wants to help learning the bandoneon.
Vue
12
star
10

php-oauth

Andy Smith's OAuth library, refactored for PHP 5.3
PHP
12
star
11

kaiser.gallery

JavaScript
12
star
12

node-dyndns-server

A simple DynDNS server
JavaScript
8
star
13

rpi-camera-import

Raspberry Pi Camera Import
Python
8
star
14

koa-encrypted-session

Encrypted cookie session middleware extension for koa-session
JavaScript
5
star
15

oauth-provider-example

JavaScript
2
star
16

docker-batsd

Docker build file for Batsd (StatsD alternative)
2
star
17

doctrine-sandbox

A simple Sandbox for playing with Doctrine 2
PHP
2
star
18

hugo-gallery-example

Shell
2
star
19

check-cert-expiry

Check expiration dates for SSL/TLS hosts
JavaScript
1
star
20

node-flashpolicy

Simple socket policy file server for Node.js
JavaScript
1
star
21

http-status-cats

HTTP Status Cats (not only) for express
JavaScript
1
star
22

dotfiles

Dotfiles (public)
Shell
1
star